Micro Focus QTP (UFT) Forums

Full Version: Checking if an error message is generated on the page due to wrong data entry
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi Forum,

I am using data table to parameterize my test. There are some invalid data into it. When the iteration use the invalid data an error is printed on the same page.

How can check that if the error text is printed, then skip rest of the steps and start a new iteration.

My script results show failed status.

Regards.
to start a new iteration you can use exit iteration and
if you don't wish to see fail status use Reporter.Filter = DisableAll