Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Checking if an error message is generated on the page due to wrong data entry
#1
Solved: 11 Years, 4 Months, 3 Weeks ago
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.
Reply
#2
Solved: 11 Years, 4 Months, 3 Weeks ago
to start a new iteration you can use exit iteration and
if you don't wish to see fail status use Reporter.Filter = DisableAll
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Rolleyes The test run cannot continue due to an unrecoverable error neerndg123 3 8,722 09-17-2015, 08:27 PM
Last Post: ananthakumarbe
  Childobject return wrong checkbox count.. VpnQTP 1 2,886 04-09-2015, 09:07 PM
Last Post: babu123
  QTP Automation: How to retrieve Reporter.Reportevent Message scsenthil 1 5,458 11-14-2013, 07:51 PM
Last Post: spannerj
  wrong code execution pkdhake 4 3,789 07-27-2013, 12:19 PM
Last Post: sreekanth chilam
  Wrong count for UsedRange rows and columns in datatable. qtpexpert 2 6,434 06-20-2012, 04:35 PM
Last Post: qtpexpert

Forum Jump:


Users browsing this thread: 2 Guest(s)