[opensuse-factory] Openqa testing question
I now have openqa installed and running with the slitaz test example on an openSuse 13.2 machine. I would like to understand how to do an OS (slitaz?) installation and then test some/all included applications in one run. During installation of an OS with openQA, as I understand it, the user is asked questions and 'replies' by programmed send_key calls (up, down, rtn) to select installation options. Once the OS is installed, it is no longer waiting for user responses to its questions, but will react instead to mouse clicks on specific icons (or areas, eg applications menu). Are there test APIs to do this? If there is no keyboard equivalent defined to open,(say), the slitaz applications menu, how would this be done? Also, what would be the command to get a local clone on my machine of a stock example test for Suse of any flavour (needles, boot.ini etc)? I am sure the answer is simple and would appreciate any help. Vladimir Zawalinski -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
vlad wrote:
Once the OS is installed, it is no longer waiting for user responses to its questions, but will react instead to mouse clicks on specific icons (or areas, eg applications menu). Are there test APIs to do this? If there is no keyboard equivalent defined to open,(say), the slitaz applications menu, how would this be done?
https://github.com/os-autoinst/openQA/blob/master/docs/WritingTests.asciidoc... e.g. assert_and_click
Also, what would be the command to get a local clone on my machine of a stock example test for Suse of any flavour (needles, boot.ini etc)?
The tests are at github: https://github.com/os-autoinst/os-autoinst-distri-opensuse You can run the fetchneedles command as documented to fetch the tests and needles. cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.com/ SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (2)
-
Ludwig Nussel
-
vlad