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: 10 Years, 8 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: 10 Years, 8 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,417 09-17-2015, 08:27 PM
Last Post: ananthakumarbe
  Childobject return wrong checkbox count.. VpnQTP 1 2,556 04-09-2015, 09:07 PM
Last Post: babu123
  QTP Automation: How to retrieve Reporter.Reportevent Message scsenthil 1 5,257 11-14-2013, 07:51 PM
Last Post: spannerj
  wrong code execution pkdhake 4 3,469 07-27-2013, 12:19 PM
Last Post: sreekanth chilam
  Wrong count for UsedRange rows and columns in datatable. qtpexpert 2 6,134 06-20-2012, 04:35 PM
Last Post: qtpexpert

Forum Jump:


Users browsing this thread: 1 Guest(s)