Page 1 of 1

Error behavior with action testcase

Posted: Sun May 11, 2014 3:08 am
by maychu123
Hi bro !!!
I have many action in a testcase.
how can i use error behavior with action : validation......

Re: Error behavior with action testcase

Posted: Sun May 11, 2014 7:08 am
by odklizec
I'm not quite sure I understand what exactly you want to achieve? Ranorex Error Behaviors are fired always if there happens an error in just running test case, even in case of failed validation. Could you be more specific about your problem?

Re: Error behavior with action testcase

Posted: Mon May 12, 2014 5:25 am
by maychu123
I have a test case A with 3 text validation.
When i run, i failed in the first text validation and the program stopped.
I want it run all 3 text validation and report to me with failed, successed case.

Re: Error behavior with action testcase

Posted: Mon May 12, 2014 7:02 am
by odklizec
Hi,

It's hard to say something definitive without knowing the exact structure of your test case. Basically, I would suggest you to use "Continue with iteration" or "Continue with sibling", maybe even "Continue with parent"? But it really depends of the structure of your test case.

Here is a detailed description how these behaviors work...
http://www.ranorex.com/support/user-gui ... html#c3028

Re: Error behavior with action testcase

Posted: Mon May 12, 2014 7:58 am
by mzperix
Hi maychu123,

to continue with a failed step in a recording module, just right click on the step and select: continue on error or something like that.

to change the error behaviour with a recording module itself, just follow the post odklizec showed.

Best Regards,
Zoltan

Re: Error behavior with action testcase

Posted: Mon May 12, 2014 11:14 pm
by maychu123
Thank you very much I got it.