[Sikuli-driver] [Question #617040]: Set Execution Ordinal for Test Set via Command Line
New question #617040 on Sikuli: https://answers.launchpad.net/sikuli/+question/617040 We have a defined Smoke Test Set established and it is set to run each day after a new nightly build is deployed. This execution is being launched via a command line script. Due to pre-requisites that some of our newer test assets have, how can I set the execution ordinal for the contents of the Test Set folders? Currently, the execution appears to happen by random selection. Thanks, Seumas -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #617040]: Set Execution Ordinal for Test Set via Command Line
Question #617040 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/617040 Status: Open => Needs information Mike requested more information: Just for everybody's benefit, what do you mean by 'test ordinal' and what do you mean by' execution appears to happen by random selection'? Thanks -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #617040]: Set Execution Ordinal for Test Set via Command Line
Question #617040 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/617040 Status: Needs information => Open Seumas MacRae gave more information on the question: Test Ordinal = set the order in which the test scripts should be run/executed. For example, the file structure looks like this: TestSets ApplicationName BVT CloseApp1.sikuli CreateRulesTest.sikuli DeleteRulesTest.sikuli OpenApp1.sikuli I'd like to be able to tell Sikuli to execute/run the tests in the following order: 1) OpenApp1.sikuli 2) CreateRulesTest.sikuli 3) DeleteRulesTest.sikuli 4) CloseApp1.sikuli As for the "random selection" question: when I watch Sikuli run the tests from the command line script, I've noticed that it doesn't always run them in the same ordinal/order. So, it appears that it randomly picks which one it is going to launch during test execution. Since we are making our scripts more modular/portable, I need to be able to specify at runtime the running order (ordinal) I want Sikuli to follow. Cheers, Seumas -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #617040]: Set Execution Ordinal for Test Set via Command Line
Question #617040 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/617040 Status: Open => Answered RaiMan proposed the following answer: use version 1.1.1 and look: http://sikulix-2014.readthedocs.io/en/latest/scripting.html#running-scripts-and-snippets-from-within-other-scripts-and-run-scripts-one-after-the-other -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #617040]: Set Execution Ordinal for Test Set via Command Line
Question #617040 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/617040 dinev posted a new comment: If you add code sample that demonstrates how you are running test maybe we can help. I am using unittest module and organizing tests as methods of a class. The keep test ordered methods looks like def test_001_ def test_002_ Then when tests are loaded for execution the are always sorted by name -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #617040]: Set Execution Ordinal for Test Set via Command Line
Question #617040 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/617040 mughees aslam proposed the following answer: I testing on https://favegrills.com/how-long-to-smoke-brisket-at-225/ -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp