Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"On Error Resume Next" scope in the script.
#2
Solved: 11 Years, 3 Months, 2 Weeks ago
Hi Pallavi,

On error Resume next" declared once at the starting of the script handles the errors at all the steps in the script

try the below code

On Error Resume next
a=0
b=5
c=b/a
msgbox Err.Number

Reply


Messages In This Thread
RE: "On Error Resume Next" scope in the script. - by Ankesh - 02-01-2012, 07:27 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  VB Script access denied error when executing alm scripts in planned host Kumar Reshma 0 1,517 05-28-2018, 04:04 PM
Last Post: Kumar Reshma
  Windows 8 envirnment error while running QTP script. Rashmi Rajpal 0 2,433 10-10-2013, 12:21 PM
Last Post: Rashmi Rajpal
  qtp resume help me shyam.emmadi 0 2,218 04-21-2011, 03:00 PM
Last Post: shyam.emmadi
  Run the QTPTest script from the Quality Center then an error occurs shivakumar6g 8 12,768 03-04-2011, 11:52 AM
Last Post: shivakumar6g

Forum Jump:


Users browsing this thread: 2 Guest(s)