Error behavior with action testcase

Ranorex Spy, Recorder, and Studio.
maychu123
Posts: 10
Joined: Fri Apr 25, 2014 4:57 am

Error behavior with action testcase

Post by maychu123 » Sun May 11, 2014 3:08 am

Hi bro !!!
I have many action in a testcase.
how can i use error behavior with action : validation......

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 3921
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Error behavior with action testcase

Post by odklizec » Sun May 11, 2014 7:08 am

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?
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

maychu123
Posts: 10
Joined: Fri Apr 25, 2014 4:57 am

Re: Error behavior with action testcase

Post by maychu123 » Mon May 12, 2014 5:25 am

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.

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 3921
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Error behavior with action testcase

Post by odklizec » Mon May 12, 2014 7:02 am

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
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

mzperix
Posts: 137
Joined: Fri Apr 06, 2012 12:19 pm

Re: Error behavior with action testcase

Post by mzperix » Mon May 12, 2014 7:58 am

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

maychu123
Posts: 10
Joined: Fri Apr 25, 2014 4:57 am

Re: Error behavior with action testcase

Post by maychu123 » Mon May 12, 2014 11:14 pm

Thank you very much I got it.