Hello,
I want to skip one action to another while processing. I know that when "continue on fail" property sets true its automatically continues.
I make user to do it whenever who wants.
thank you.
How to skip one action to another while processing
- Support Team
- Site Admin
- Posts: 12174
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: How to skip one action to another while processing
Hi espekkaya,
Unfortunately I'm not exactly sure if I got your questions correctly.
May I ask you to describe your intention in more detail?
Thank you.
Regards,
Markus (S)
Unfortunately I'm not exactly sure if I got your questions correctly.
May I ask you to describe your intention in more detail?
Thank you.
Regards,
Markus (S)
Re: How to skip one action to another while processing
Helllo,
I want to run an automated test procedure using Ranorex. While running a specific scenario, is it possible to ignore/skip a certain step?
For example;
1- Open a web browser (pass)
2- Click "log in" button (pass)
3- Validate a success label (ignore)
* At this point I do not care if it is a pass/fail, I just want the automated steps to continue to run the remaining test steps to complete the scenario.
Thanks for your support,
Enes
I want to run an automated test procedure using Ranorex. While running a specific scenario, is it possible to ignore/skip a certain step?
For example;
1- Open a web browser (pass)
2- Click "log in" button (pass)
3- Validate a success label (ignore)
* At this point I do not care if it is a pass/fail, I just want the automated steps to continue to run the remaining test steps to complete the scenario.
Thanks for your support,
Enes
Re: How to skip one action to another while processing
Hi,
Yes, it's possible. You just have to set "Continue on Fail" to True for particular recording action. By default, Continue on Fail is set to False. See this paragraph:
http://www.ranorex.com/support/user-gui ... html#c3091
Yes, it's possible. You just have to set "Continue on Fail" to True for particular recording action. By default, Continue on Fail is set to False. See this paragraph:
http://www.ranorex.com/support/user-gui ... html#c3091
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
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
Re: How to skip one action to another while processing
Thank you for your respond.
I have known this feature. It makes automatically. But I need it manually. For example, an action which I press a key then ignore it and continue next action.
Is this posibble? or we have only "Continue on Fail" feature for skip next action.
I have known this feature. It makes automatically. But I need it manually. For example, an action which I press a key then ignore it and continue next action.
Is this posibble? or we have only "Continue on Fail" feature for skip next action.
Re: How to skip one action to another while processing
Unfortunately, I don't understand what exactly you want to achieve? It seems to me that you are trying to mix automatic test with manual input? I'm afraid, this is completely wrong concept and you should avoid that. But maybe I misunderstood something?
If you want, from some defined reasons, to ignore certain recording steps (based of state of last validation), you will have to create user code with some conditions.
e.g. pseudo code:There is no way to perform conditions within Recording table.

If you want, from some defined reasons, to ignore certain recording steps (based of state of last validation), you will have to create user code with some conditions.
e.g. pseudo code:
Code: Select all
if (validation == true)
{
action_1
action_2
action_3
}
else
{
action_4
action_5
action_6
}
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
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
Re: How to skip one action to another while processing
You undestand right no problem with that 
My question is that there is only way to ignore action via "Continue on fail" feature.
Thanks, Kindly.
Have a good day.

My question is that there is only way to ignore action via "Continue on fail" feature.
Thanks, Kindly.
Have a good day.
Re: How to skip one action to another while processing
Hi espekkaya,
It sounds to me like you want the validation error to be reported, but you don't want your test run to be terminated. Did I understand you correctly?
As mentioned in previous posts "Continue on fail" would be one possibility to continue the module execution even in case of error.
If you perform validation steps within user code you could report error messages manually to your report (which does not terminate the module execution either).
What also could be interesting for you is the error behavior of test cases. Depending on the error behavior of your test cases the following test case executions could be influenced.
I hope this will help you.
It sounds to me like you want the validation error to be reported, but you don't want your test run to be terminated. Did I understand you correctly?
As mentioned in previous posts "Continue on fail" would be one possibility to continue the module execution even in case of error.
If you perform validation steps within user code you could report error messages manually to your report (which does not terminate the module execution either).
What also could be interesting for you is the error behavior of test cases. Depending on the error behavior of your test cases the following test case executions could be influenced.
I hope this will help you.