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?
You do not have the required permissions to view the files attached to this post.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
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