Forum Discussion

Inovalon-Tester's avatar
Inovalon-Tester
New Contributor
3 years ago

How to make an action apply to more than a single test case.

I've created two hundred test cases before I found out that the default test case option is to stop the test case if any step fails. That's the opposite of what I want. I can set a new default behavi...
  • MConneely's avatar
    3 years ago

    Inovalon-Tester ,

    instead of doing it manually, you could use some groovy script on the Setup Script at the Functional Tests level and programmatically change your Test Cases. Something like

     

     

    project.getTestSuiteList().each
    {
    	it.getTestCaseList().each
    	{
    		//Switch the parameter value to 'true' if you need to enable 'Abort on Error' option
    		it.setFailOnError(false)
    	}
    }

     

     Always good to test this out before executing against all 200 test cases

    Also, in the Preferences - > Default Test Case Options, you can toggle the Abort on Error default