cancel
Showing results for 
Search instead for 
Did you mean: 

Stop test execution from groovy

Highlighted
Community Hero

Stop test execution from groovy

Hey,

Is there a way to stop the test execution for all test (from all test suites) from a groovy script?


If my answer helped please click on the 'Accept as Solution' button.
1 REPLY 1
Community Leader

Re: Stop test execution from groovy

Hi @Lucian,

 

testRunner.cancel("Reason to stop").

 

It worked for me. Give it a try. Smiley Happy

 

 


Click "Accept as Solution" if my answer has helped, and remember to give "kudos" Smiley Happy

Thanks and Regards,
Himanshu Tayal
February News
Top Kudoed Authors