How to capture screenshots of Exceptions/Errors during run-
time?

Answer Posted / julia

Hello,

In QTP8.2, we can choose the run setting:
Test -> settings -> Run tab -> set ON save image of desktop
when error occurs checkbox

In QTP 9.2, follow the below navigation:
Tools -> Options -> Run tab -> In the drop down list
box "On Error"(default) is selected for "Save step screen
capture to results"

Is This Answer Correct ?    15 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the significance of “action 0” in qtp?

772


what are the utilities and drivers

2058


What are some test assets and related extensions of qtp?

783


How to find the difference between 2 dates in qtp?

826


Explain building blocks of the bpt framework ?

788


Explain about the quicktest professional (qtp) automation object model?

780


How to create Reusable and Multiple Actions?

1937


Dear Friends, I having total 3+year experience in manual testing including automation testing QTP, if i am attending any interview what kind of question will i get? please help me out

1797


what is clean sweep?

2062


Is there anyway to automatically update the Datasource name in Database Checkpoints object when we migrate tests to a new release?

3556


What is environment variable in qtp and why to use it?

767


one screen page,that contains file , browse , update and cancel buttons.when we browse a file it should get update otherwise it should go to previous page.write negative test case for that.

1716


Hi,Sudhanandareddy plz forword framework and ppts for QTP to me. This is my mail id: ranjith_99reddy@yahoo.co.in (your contact number also)

2045


How will you find the current time of the remote machine using QTP script?

830


How can we import into Excel "Details" ,"Result" ,"Time" parameters from within a Results Report which is generated after a Run error when a script is executed in QTP? Refer E.g below Status Functionality Description RunDate Fail Login User should be able to Login 12/3/2007 StartTime EndTime Details* 1:31:58 PM 1:32:29 PM (this one i want)

1759