Forum Discussion
corki
16 years agoContributor
Very thank you man.
I solved it by creating one property in TestSuite Properties, and every testCase in that TestSuite has groovy check where this property is loaded and compare to true/false,
Then I can stop running every one testCase separateli one by one with this command :
if(context.getCurrentStep().getTestCase().getTestSuite().getPropertyValue("availableToRun").compareTo("false")==0 ) testRunner.cancel("testCase forced to canceled by testSuite property - avaiableToRun")
I solved it by creating one property in TestSuite Properties, and every testCase in that TestSuite has groovy check where this property is loaded and compare to true/false,
Then I can stop running every one testCase separateli one by one with this command :
if(context.getCurrentStep().getTestCase().getTestSuite().getPropertyValue("availableToRun").compareTo("false")==0 ) testRunner.cancel("testCase forced to canceled by testSuite property - avaiableToRun")
Related Content
- 2 years ago
- 3 years ago
- 8 years ago
Recent Discussions
- 3 days ago