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

How to decide the tool that one should use for automation testing in their projects?

569


did anybody take online training from Mind Q systems hyderabad? please share your experience. thanksĀ 

1750


Explain about basics of rational robot - ibm test automation tool?

546


What is build verification testing, bvt?

616


What is test automation?

1667






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

571


Write a short compiled module which selects random numbers. and what function is used to call your customized compiled module?

522


Kindly let me know how to setup JMeter for functionality testing of a Web application.. The apache help doc is good but i m little confused with it... :(

1749


Tell us the difference between assert and verify commands?

565


Which package can be imported while working with webdriver?

816


How to integrate Rational functional Tester with Rational Quality manager. Can anyone provide the details steps giving explaination with examples.

1598


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

539


Tell me what are the different types of navigation commands?

505


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

521


Tell me how can we find the value of different attributes like name, class, value of an element?

594