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

How you will evaluate the tool for test automation?

0 Answers  


What is the Differnce between Client/Server Testing and Web Based Testing?

3 Answers   BirlaSoft,


Hello, I am interested to make a career in software testing. I am searching for a recommended book in Automated Testing tools which covers winrunner, loadrunner, qtp and test director....Please advise recommended books which is a good text book for learning software testing.

6 Answers   DELL, HP, Sierra ODC,


How do you identify the test cases which are suitable for automation?

0 Answers  


Where you have applied oops in automation framework?

0 Answers  


Hi every body.. Whn i install QC 9.2 in window xp sp2 it ll show the error msg as it will nt support. How can i install in this OS.. Plz plz help me and i installed IIS and oracle 8i.. Plz Plz help me for this one

1 Answers  


explain add in manager and virtual object wizard in winrunner

0 Answers  


Tell me what is the purpose of getoptions() method?

0 Answers  


How to create stubs? what is the use of Stubs and drivers? who is the responsible person of this?

4 Answers  


ihave one doubt in manual testing? what is the testing process

1 Answers   DELL,


Explain load testing on websites?

0 Answers  


If automating - what is your process for determining what to automate and in what order?

1 Answers  


Categories