← Back to team overview

sikuli-driver team mailing list archive

[Question #677393]: Executing test sequences with a csv file

 

New question #677393 on Sikuli:
https://answers.launchpad.net/sikuli/+question/677393

Hello, is it possible to achieve this in sikuli?

"Add a way to specify a file through the command line which contains a sequence of tests to execute ; the feature is defined as follows:
If nothing is specified, execute the tests as usual
Example of a typical call without specific test (meaning it will run all the tests): c:\Sikulix\runsikulix.cmd -r C:\Sikulix\Arobs\HagercadTestRunner.sikuli
If a file is given, execute the test sequence contained in that file:
Example 
c:\Sikulix\runsikulix.cmd -r C:\Sikulix\Arobs\HagercadTestRunner.sikuli --args testsuite.csv
In this case, testsuite.csv would contain a series of tests that need to be run one after the other
Example of file content (two lines in a CSV):
Test1,Test2,Test3
SecondSequenceTest1,SecondSequenceTest2
Each line represents a sequence of tests to execute
The reporting system must show the result under the name of the test that is the lowest down in the sequence; example: Test1,Test2,Test3 means that in fact, Test3 is the actual element that is being tested, so the report must show test3 in its header.
Before running a sequence, the Sikulix test must make sure that every single test that makes up the sequence actually exists; if one or more do not, then the sequence must be ignored, and a log message must appear specifically for that case"

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.