Forum Discussion
EBaethke
11 years agoContributor
Just an FYI (this may help for a temporary workaround):
There is already a TestCase result called "CANCELLED". You can force this result from a Groovy Script:
You can see these results by using the following code in a TearDown Script:
There is already a TestCase result called "CANCELLED". You can force this result from a Groovy Script:
testRunner.cancel("My Reason For Skipping This Test Case")You can see these results by using the following code in a TearDown Script:
for ( testResult in testRunner.results ) {
result = testResult.getStatus().toString();
log.info result
}