Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getting Error Details in QTP
#5
Not Solved
I am not sure what code you are using.However i can give you some idea of how to use error handling in vbscript

on error resume next ' this means that if an error occurs the execution will not stop and proceed to the next line
< lines of code which would raise the error>
if err.number <> 0 ' which means that some error has occurred
msgbox err.description
else ' this condition is reached if no error has occurred
<your code logic if no error occurs>
on error goto 0 ' this stops your error handling code


please let me know if you have problem in understanding this code.
Reply


Messages In This Thread
Getting Error Details in QTP - by chetandahale - 09-30-2010, 05:48 PM
RE: Getting Error Details in QTP - by tdevick - 02-23-2011, 01:47 AM
RE: Getting Error Details in QTP - by tester_rahul - 02-23-2011, 12:25 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Find System details on which uft license is utilized Ccma 1 1,238 04-24-2018, 02:16 PM
Last Post: Ankur
  Runtime variables details amitmanekar91 0 2,264 03-07-2015, 08:27 PM
Last Post: amitmanekar91
  How to get the details of the current test instance from ALM HARINSUBRU 0 2,532 09-17-2014, 08:09 PM
Last Post: HARINSUBRU
  Details of Log tracking in qtp11 sowmya 0 4,140 01-25-2012, 01:43 PM
Last Post: sowmya

Forum Jump:


Users browsing this thread: 4 Guest(s)