Search found 2 matches

by bchesley
Sat Sep 01, 2018 2:55 am
Forum: General Questions
Topic: Dynamic Error Behavior in Code Module
Replies: 4
Views: 1419

Re: Dynamic Error Behavior in Code Module

Hey, The following code snippet should help you: TestCaseNode currentNode=(TestCaseNode)TestSuite.Current.CurrentTestContainer; currentNode.ErrorBehavior= ErrorBehavior.ContinueParent; regards, qwertzu To get back to you on this, I have tried the above and it was error free on compile, but while ru...
by bchesley
Tue Aug 14, 2018 8:18 pm
Forum: General Questions
Topic: Dynamic Error Behavior in Code Module
Replies: 4
Views: 1419

Dynamic Error Behavior in Code Module

Hello, I'm wondering what the correct way is to change/alter the Error Behavior inside of a Code Module. I have 10 Test Cases inside of a Smart Folder and if a certain situation arises, I want to fail out of the Smart Folder, but if it fails a different way, I want to only fail out of the current Te...