Forum Discussion
Create a single Keyword test that calls the other tests that you want and then call that via command line.
This is a good idea but how can I create a KeywordTest and call the other tests from an external script ?
- tristaanogre6 years agoEsteemed Contributor
egiacomi wrote:
This is a good idea but how can I create a KeywordTest and call the other tests from an external script ?
I'm not sure I understand the question. You already demonstrated you know how to call a keyword test via commandline externally.
- egiacomi6 years agoContributor
The tests i want to launch are every time different i can't create a "static KeywordTest" and than call it from an external script . Is there a way to launchmultiple tests from cmd ?
- tristaanogre6 years agoEsteemed Contributor
Not within the same session without writing some sort of code to make the distinction.
Here's another potential solution:
1) Create a CSV file that lists out the test names that you want to execute
2) Create code in a script that uses the DDT.CSVDriver to read that CSV file and drive a loop through it
3) Each time through the loop, call the keyword indicated by the particular row in the CSV file.
4) Set your command line to execute that script code
Then, all you need to do to change the list of tests to execute is update the CSV file with the desired list.
Related Content
- 5 years ago
- 9 years ago
- 4 years ago
Recent Discussions
- 3 hours ago