Continue within test case
Continue within test case
Hi,
it seems that it isn't possible to continue with the next module within a test case after a failure like in early ranorex versions. I also can't find the error behavior "Continue with sibling" any more. Is there any possibility to continue within the test case?
Bye
it seems that it isn't possible to continue with the next module within a test case after a failure like in early ranorex versions. I also can't find the error behavior "Continue with sibling" any more. Is there any possibility to continue within the test case?
Bye
Re: Continue within test case
I usually set "Report level on failure" to "Warn" and "Continue on fail" to "True" for individual actions withing test cases that may fail. This way all scripts continue to run without stopping on failure, and I can analyze all warnings afterwards.
As for "Continue with siblings", I see it in [Test case title] -> Right mouse click -> Error behavior -> Choose the behavior you need. This may be version-related, let Rx support team answer this one.
As for "Continue with siblings", I see it in [Test case title] -> Right mouse click -> Error behavior -> Choose the behavior you need. This may be version-related, let Rx support team answer this one.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Continue within test case
Hi,
Thanks Alena for your solution!
UgaAga which version of Ranorex have you used before?
The Error Behavior options hasn't changed since 3.3.0.
There is also an option which allows you to continue with the next iteration, for more information about the error behavior options please see: Test Case Settings.
Regards,
Markus
Thanks Alena for your solution!
UgaAga which version of Ranorex have you used before?
The Error Behavior options hasn't changed since 3.3.0.
There is also an option which allows you to continue with the next iteration, for more information about the error behavior options please see: Test Case Settings.
Regards,
Markus
Re: Continue within test case
Hi,
thanks Alena and Markus for your answers. I found the "Continue with sibling" option, but only in the context menu not under properties. My ranorex version is 4.0.6 by the way. It seems that the behavior changed, my project was created under version 4.0.3 or something and the test case continued but it doesn't now.
Bye
thanks Alena and Markus for your answers. I found the "Continue with sibling" option, but only in the context menu not under properties. My ranorex version is 4.0.6 by the way. It seems that the behavior changed, my project was created under version 4.0.3 or something and the test case continued but it doesn't now.
Bye
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Continue within test case
Hello UgaAga,
When I open the test case properties I can see the "Continue with sibling" option. Do you mean this dialog?
Regards,
Bernhard
When I open the test case properties I can see the "Continue with sibling" option. Do you mean this dialog?
Regards,
Bernhard
You do not have the required permissions to view the files attached to this post.
Re: Continue within test case
No this one
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: Continue within test case
Hi,
I can also select "Continue with sibling" on this dialog as you can see in the image below. Can you please expand the options?
Regards,
Bernhard
I can also select "Continue with sibling" on this dialog as you can see in the image below. Can you please expand the options?
Regards,
Bernhard
You do not have the required permissions to view the files attached to this post.
Re: Continue within test case
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: Continue within test case
Hello,
Sorry, I overlooked that you are not using Ranorex 4.1.
You can also use "ContinueWithParentIteration" in order to continue with the next Test Case. It is the same as Continue with sibling.
Regards,
Bernhard
Sorry, I overlooked that you are not using Ranorex 4.1.
You can also use "ContinueWithParentIteration" in order to continue with the next Test Case. It is the same as Continue with sibling.
Regards,
Bernhard
Re: Continue within test case
Hi,
thanks for your answer. Additionally i would like to continue within the test case, that means after a code module failed the test should continue with the next module. I.e.:
Test Case
Module1 fails --
Module2 <--| continues with
Module3
Regards
thanks for your answer. Additionally i would like to continue within the test case, that means after a code module failed the test should continue with the next module. I.e.:
Test Case
Module1 fails --
Module2 <--| continues with
Module3
Regards
Re: Continue within test case
Put them in different sub-Test cases.
Suite
--MainTC
----SubTC1
------Module1
----SubTC2
------Module2
----SubTC3
------Module3
Suite
--MainTC
----SubTC1
------Module1
----SubTC2
------Module2
----SubTC3
------Module3
Shortcuts usually aren't...
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Continue within test case
Hi,
it is by design that after a module failed, all other modules within this testcase get skipped.
Nevertheless if you want to continue on fail within a testcase you can set the "Continue On Fail" property of each recording action to "True". This prevents the module to fail and the testcase continues with the next module.
Regards,
Larissa
it is by design that after a module failed, all other modules within this testcase get skipped.
Nevertheless if you want to continue on fail within a testcase you can set the "Continue On Fail" property of each recording action to "True". This prevents the module to fail and the testcase continues with the next module.
Regards,
Larissa
Re: Continue within test case
Hi,
thanks for your reply. How can i set "Continue on Fail" for code modules?
Regards
thanks for your reply. How can i set "Continue on Fail" for code modules?
Regards
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Continue within test case
Hi,
Regards,
Peter
Ranorex Team
Please see following documentation http://www.ranorex.com/support/user-gui ... html#c3091UgaAga wrote:thanks for your reply. How can i set "Continue on Fail" for code modules?
Regards,
Peter
Ranorex Team
Re: Continue within test case
Hi,
sorry but i can only find "Continue on fail" for RECORD modules, but i need that for CODE modules too.
Regards
sorry but i can only find "Continue on fail" for RECORD modules, but i need that for CODE modules too.
Regards