Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Skip button using Script
#11
Not Solved
Hey i too work on SAP and QTP.

Whenever i see object error, i do a check with err number. Something like

Code:
On Error REsume NExt
//Some operation on object which throws error
If Err.Number<>0 Then
REporter.reportevent, micFail,"Error","Error description is :"&Err.Description
//exit the test iteration
End IF

Plz check and let me know if this works for u.

Regards,
Ankesh
My Blog - SAP & QTP
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Help for instruction to click on Skip button in the warning message vijilesh 0 1,365 09-16-2018, 03:48 PM
Last Post: vijilesh
  How to skip a For count? mv8167 2 2,410 10-23-2013, 07:06 PM
Last Post: mv8167
  How to skip an action newqtp 2 5,491 02-13-2013, 03:31 AM
Last Post: newqtp
  Press the Skip button on the dialog box mv8167 3 3,090 12-06-2011, 12:24 PM
Last Post: prasant
  How to skip the execution of Script lines in run time azeem 5 11,577 02-01-2010, 03:14 PM
Last Post: Saket

Forum Jump:


Users browsing this thread: 1 Guest(s)