in my application i am getting different errors at same
place. how i capture that errors using less code in qtp.



in my application i am getting different errors at same place. how i capture that errors using les..

Answer / saff

include this code in ut script
on error resume next
print "err.number & err.description"

err is a predefind varible
we can retirve the numebr and decripton of the erro occured
by using number and description properties on err

Is This Answer Correct ?    6 Yes 1 No

Post New Answer

More Automation Testing AllOther Interview Questions

Can anybody would u like to tell the details of Automation Framework, with example. and also give preferable books. sites. Thanks in Advance.

2 Answers  


Manually in a page 10 check boxes is there.so 5 check box "on" and 5 check box "off" so using descriptive program how to know how many "on" and how many "off" plz help me this question answer?

0 Answers   IBM,


Can you explain me what is object repository?

0 Answers  


Do you know how can we make one test method dependent on other using testng?

0 Answers  


is there any Rational Functional Tester certification questions available?

1 Answers   Infosys,






4. How we implement Winrunner,in our project?

0 Answers   Eka Software,


Tell us how can we handle web-based pop-up?

0 Answers  


What types of scripting techniques for test automation do you know?

0 Answers  


How you report bug in to bugzilla

0 Answers   Diebold,


IN AN APPLICATION HOW DO YOU IDENTIFY THE TASKS WHICH SHUD BE DONE MANUALLY AND WHICH SHUD BE AUTOMATED?

0 Answers   TCS,


Where to maintain information like login, password and url?

0 Answers  


What criteria do you use when determining when to automate a test or leave it manual?

2 Answers  


Categories