Update Test Case Properties > Error Behaviour
Update Test Case Properties > Error Behaviour
Hello, i woukd like to change the setting under <<< Test Case Properties > Error Behaviour >>>> via code. Any Suggestions on it?
- Support Team
- Site Admin
- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Re: Update Test Case Properties > Error Behaviour
Hello twadhwa,
Welcome to Ranorex!
You could use the following code snippet in order to set the error behavoir via code:
Robert
Welcome to Ranorex!
You could use the following code snippet in order to set the error behavoir via code:
var tc = TestSuite.Current.GetTestCase("MyTestCase") as TestCaseNode; tc.ErrorBehavior = ErrorBehavior.Stop;Sincerely,
Robert