Jasper175
14 years agoFrequent Contributor
goto - testCase in Groovy
Hello,
Anyone know if there is a parameter in groovy to 'goto' a testCase? Or better yet to run a particular testSuite?
I have many testSuites --
In the first one I'm verifying if the testSuite properties are populated. Whatever someone keeps blank in the property table creates a scenario that I would need to have the result execute a particular testSuite.
or
If that can't happen what if put my testCases in one Suite:
TestCase-Start
TestScenario-1
TestScenario-2
TestCase-Final
Based on "IF" scenarios in "TestCase-Start" - is there code for Groovy to goto "TestScenario-2" and skip 1?
Thank you,
Rob
Anyone know if there is a parameter in groovy to 'goto' a testCase? Or better yet to run a particular testSuite?
I have many testSuites --
In the first one I'm verifying if the testSuite properties are populated. Whatever someone keeps blank in the property table creates a scenario that I would need to have the result execute a particular testSuite.
or
If that can't happen what if put my testCases in one Suite:
TestCase-Start
TestScenario-1
TestScenario-2
TestCase-Final
Based on "IF" scenarios in "TestCase-Start" - is there code for Groovy to goto "TestScenario-2" and skip 1?
Thank you,
Rob