Hi,
I have a scenario as the following:
There are 5 sequential pages including forms and one can go next page by clicking "continue" if all inputs are correct.
If some inputs are not correct, there emerges error messages for the wrong ones and those error messages are validated.
At this case I don't want to run remaining steps for next pages since they gonna fail because current page with erroneous cannot be passed.
Is there a way to stop execution for this iteration and starts with new iteration from step1?
"StopTestListOnFailure" option cannot be used here because it stops in a failed step but in my case it is not a failed step.
I tried to use global variable and set it when erroneous input is seen and validated, but when I customize next steps in code and check this global variable, in test results I cannot see details of sub-steps so global variable would not be a good option for me.
I hope I can explain my case well enough.
Best regards
Ercan
I have a scenario as the following:
There are 5 sequential pages including forms and one can go next page by clicking "continue" if all inputs are correct.
If some inputs are not correct, there emerges error messages for the wrong ones and those error messages are validated.
At this case I don't want to run remaining steps for next pages since they gonna fail because current page with erroneous cannot be passed.
Is there a way to stop execution for this iteration and starts with new iteration from step1?
"StopTestListOnFailure" option cannot be used here because it stops in a failed step but in my case it is not a failed step.
I tried to use global variable and set it when erroneous input is seen and validated, but when I customize next steps in code and check this global variable, in test results I cannot see details of sub-steps so global variable would not be a good option for me.
I hope I can explain my case well enough.
Best regards
Ercan