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

HOw to add the recovery file at runtime to the test file .

1814


hi frinds i need help .i have 4 + yrs exp in testing and nearly 2 yrs exp in QTP and QC .currently iam working north fast 2 yrs iam looking for job in south is there any openings plz letme know my mail id is pbre1980@gmail.com

1868


when a test case is written how u test using qtp

1929


Why do we use "Text checkpoint" If we can make use of it in "standard checkpoint" ?

1732


Is it possible to use two instances of UFT on the same machine? If not why?

871


How extensive or customized are the server logging and reporting requirements; are they considered an integral part of the system and do they require testing?

806


Hi Frenz... I would like to take up the QTP certification . Can anyone tell me what is the procedure. n if anybody have the study materials pls fwd it to jkpunathil@gmail.com

1752


How to test the login page in different ways in automation testing and i need code?

1603


Explain building blocks of the bpt framework ?

807


can any body clearly explain about keyword driven framework .give me the explanation for files what ever you use in this frame work?

1913


Can you write a script to check if the folder exists or not?

763


Hi, While recording a Jave based web application, its recording all my actions and the objects.And I have 5 WebEdit objects on the page and all are recorded. But while execution, at the 2 WebEdit object, its entering the value into the object (Its making a call to the AJAX, matching the value), when the control get out of this object the value is erased or cleared. Could anyone please help. I have recoreded 5 more scenarios where WebEdit is in the picture on different webpages and all are working fine. Here is my Script: Browser("Sign In").Page("Matching Workbench_3").WebEdit ("locationLookup").Set "0320 - SEATTLE-KM" Browser("Sign In").Page("Matching Workbench_3").WebEdit ("supplierNameLookup").Set "TRAMMO PETROLEUM INC" *** SupplierNameLookup is the object, which is haing an issue. And also I was using the SendString function, but it didnt work.

2023


can u please explain what is the exact difference between qtp8.2 and 9.0

1928


Hi Friends... By using QTP , can we test .net products...and that product supports different languages.. thanx in advance..

4532


On the website, the protocol has been changed https: to https what you will do? Tell me your approach?

824