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

Can we do automation testing without a framework? If yes, then why do we need a framework?

693


Tell me how can the user get a text of a web element?

511


Where to maintain information like login, password and url?

523


Is there any freeware tool for automation testing of mobile applications for BlackBerry and iPhone platforms ?

2503


2. How you will collect a module from the version?

1872






Do you know the difference between close and quit command?

490


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

1997


Do you know what is robot api?

544


how to use regular expression in Test Complete Functional tool

4895


How do i startup with Remedy testing tool. Couldnot able to find any links for startup. Please help me to startup with this remedy tool.

1214


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

560


Explain me what are the main advantages of automation testing?

491


Hello, Is there any source from which i can get any live tutorial or trial of Automation tools?? Also i have a query that is there any certification course or exam available for Automation tools QTP and QC?

1321


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

1531


8. How we test web based application

1822