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

I am surekha new commer for this site? I have some doubt's pls clarify it..... I finished my B.tech and S/w Testing Course Now iam searching for a job in Testing, I did not have any experience in real time projects. Any body can send me the sample Testcases,Srs,Matrix for Banking,ERP Projects etc.Here is my email id surekhai@yahoo.com

1 Answers  


What are main benefits of test automation?

0 Answers  


Program/pseudo code on FIFO? Input a string and make sure that output is in FIFO manner. Eg, Enter 'John Dave' as input and output should be 'John Dave' not 'Dave John'. (inbuilt functions like push, pop were given)

0 Answers  


Do you know what is the purpose of deselectall() method?

0 Answers  


Tell me how a text written in a text field could be cleared?

0 Answers  






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

0 Answers  


Can object repository be kept in version control and Database(DB) backed up daily ?

1 Answers   Amazon,


Explain me how do you send enter/tab keys in webdriver?

0 Answers  


Explain what is the hybrid framework?

0 Answers  


Do you know what is robot api?

0 Answers  


Hi All, I am looking selenium training in Hyderabad. can any one tell me the best training institute/trainer?

6 Answers   QE, QEdge,


How to Rcognize the Objects in the Web Page Dialog Using QTP

0 Answers  


Categories