Page 1 of 1

Module execution was aborted because a validation has failed

Posted: Thu Feb 23, 2012 10:15 am
by Pallavi
Hi Ranorex support Team,

In my project, I require if validation of Inner text matches with the specified value testcase should failed.
For this purpose i have set the properties of validation
1)Report level on Failure as success
2)Report level on Success as failure.

After doing this When the test case is failed I am getting success on validation step of the report that is expected.But execution of testcase is stopped with error 'Module execution was aborted because a validation has failed' .find the screen shot.


Can you please explain me concept of Regular expression validation also.

Regards
Pallavi

Re: Module execution was aborted because a validation has failed

Posted: Thu Feb 23, 2012 3:14 pm
by Support Team
Hi,
Pallavi wrote:After doing this When the test case is failed I am getting success on validation step of the report that is expected.But execution of testcase is stopped with error 'Module execution was aborted because a validation has failed' .find the screen shot.
Just to clarify. You want to set a validation to success even if the validation fails and the test case should continue?
Have you set the "Continue on Fail" property to "True"?
See following section in the Ranorex User Guide for more information:
http://www.ranorex.com/support/user-gui ... html#c3593
Pallavi wrote:Can you please explain me concept of Regular expression validation also.
Please take a look to the following links
http://www.ranorex.com/support/user-gui ... html#c3294
http://www.ranorex.com/blog/ranorexpath-tips-and-tricks

Regards,
Peter
Ranorex Team