We are building a new experience for our SmartBear Community.
This site is now read-only. You can still browse and search as usual. Learn More
This site is now read-only. You can still browse and search as usual. Learn More
If you have groovy testStep then try below code :-
def testStep = context.getProperty( "#TestSuiteDetails#" )
if( testStep != null ) {
testStep.cancel( "Your message" )
}And in script assertion, try this :-
context.testRunner.cancel()
If you have groovy testStep then try below code :-
def testStep = context.getProperty( "#TestSuiteDetails#" )
if( testStep != null ) {
testStep.cancel( "Your message" )
}And in script assertion, try this :-
context.testRunner.cancel()