User999
2 years agoContributor
Run Test Cases via Groovy Script
Hi,
I am wanting to run specific test steps within Groovy Script that will then correlate to my DataSource excel. In my datasource I have 3 fields that need to be called but they can't be run in the data source loop as it would run all 6 tests from the same test step. It could run 1-2 which would be fine. I didn't want to setup a new test case to point to DataSource start at A2, A4 etc.
I would basically want 6 test steps and the groovy script calling TC001, TC002, TC003 etc in every loop.
Let me know if anyone has any solution.