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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

List of Test Management Tools??Is Quality Center Test Management tools

1531


List out some of the automation tools which could be integrated with selenium to achieve continuous testing.

708


Tell me an example of the languages supported by webdriver?

858


What are the different types of locks in mainframe?

698


It is a 30 days project & the client is in Singapur and we have to submit daily report regarding 1) What are the completed works, 2) What are the Pending Works ,3) Work planed for next day. You are free to assume regarding the project. can anybody help me to write an email to the client or Senior person who is staying in abroad

1953


What is meant by the automation framework?

758


in keyword driven frame work..where Driver Script is locate? is there any inbuilt script for driver script?who writes the driver script?how to call it any body can tell me with an example...like(yahoo login,inbox, logout).

1849


What do you think holds the testers back to do automation? Is there a way to overcome it?

817


WHAT'S THE TESTER'S ROLE DURING MIGRATION OF CODE FROM TESTING TO PRODUCTION ENVIRONMENT

1951


i have one answer from you that today the test cases are not stored in the database(SQL server 2005). But in automation testing where does the test case store? plz tell me... i have more confusion

1746


How could the web element attributes be inspected in order to use them in different locators?

754


Hi vishal, Thanks for your reply... But i am not using Mozilla fire fox.. I am using IE 7.. Could you suggest me in this case.. I have tried with Rational tools which i am getting some installation problem and netvantage..tool....which i felt i can't write script for that.. please guide me in this..

1652


Do you know what is the difference between "type" and "typeandwait" command?

728


Tell us what is the difference between getwindowhandles() and getwindowhandle()?

725


Can any one give information on "Content Disposition" in TEST COMPLETE automation tool? mail me to pdamarakonda@smart-bridge.co.in call me to 09849423932

1753