Page 1 of 1

Continue with sibling does not work

Posted: Fri Feb 05, 2016 10:28 am
by Sajczi
Hi,
I have my Ranorex project. I copied it to another folder, changed paths, changed some things in recordings. I have two test cases. I deleted the second one, copied and pasted the first one (so the 2nd test case was updated). I set 'error behavior' property for 'Continue with sibling', but when I run test suite and the first test case fails, the second does not start.
In my first project it did work properly. Could You tell me if there are some more things that I have to set in such situation?

Best regards

Re: Continue with sibling does not work

Posted: Fri Feb 05, 2016 7:40 pm
by gowthamp
I think you nested another test case as Child test case. To continue with Sibling option you need both under single test case.
Have a look at attachment which gives clear idea.

Re: Continue with sibling does not work

Posted: Mon Feb 08, 2016 11:27 am
by Sajczi
In my test suite it looks like this:
Image

If TestCase fails, I want TestCase1 to start. Otherwise it should not start.
I believe continue with siblings should work when they are nested like that?

EDIT: TestCase1 has checkbox set to 0, because otherwise it would always run, even if there were no error.

Re: Continue with sibling does not work

Posted: Mon Feb 08, 2016 11:52 am
by odklizec
Hi,

What you want is not doable without custom code. Check my post here...
http://www.ranorex.com/forum/how-to-ski ... tml#p35092

It's exactly what you want, you just need to replace 'false' with 'true'. Hope this helps?

Re: Continue with sibling does not work

Posted: Mon Feb 08, 2016 2:06 pm
by Sajczi
This is exactly what I needed, thanks a lot!