codehausss
9 years agoContributor
Bulk deselect Abort test if an error occurs
Hi
is it possible to do this? bulk deselection for test case option "Abort test if an error occurs"?
thank you
In SoapUI, there is no explicit option to disable the "Abort on Error" option for all the test case in a project, but this could be achieved using Groovy script. Please copy the below script and run it using a Groovy test step,
testRunner.testCase.testSuite.project.getTestSuiteList().each { it.getTestCaseList().each { //Switch the parameter value to 'true' if you need to enable 'Abort on Error' option it.setFailOnError(false) } }
While running this script, this would throw an information pop up; please ignore it. Hope this answers your query!
Reference: One of my previous post - https://community.smartbear.com/t5/SoapUI-NG/Easy-way-to-set-all-test-cases-to-NOT-abort-on-error/m-p/107720/highlight/true#M25007
Thanks,
Kondasamy