How to capture screen shots when an error occurs?
Answer Posted / uday kumar_anem
In QTP8.2, we can choose the run settings
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"
And even we can also configure, whether we have to proceed
to next step or stop the test execution by following below
navigation:
File Menu -> Settings -> Run Tab -> Choose the required
action from the "Whenever an error occurs during run
session" drop down list box.
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
How many types of recording modes in qtp?
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What is the difference between them? How to handle script issues?
How can you send user defined messages to test report?
Explain in brief about the quicktest professional (qtp) automation object model?
What are the benefits of qtp?
How to check bitmap output value?
Can any give an example(if possible templates) how to test web application using QTP. thanks in advance
how to write xml output check point bu useing descriptive programing .means without useing output check point
how u will evaluate the tool for test automation?
Create flight reservation login descriptive programing (Condition: Remove the value and substitute with a variable, and then call the validation from Excel) Plz help me....... very urgent.........
How to sendKeys in QTP? Diff b/w sendkeys and device replay? Diff b/w function and Sub? Diff b/w Array and List Different Types of running Keys other than Fast, slow,Normal mode Regular expression for http://newtours.demoaut.com Difference between \w and \W How to generate script button Recording Types Different Types of Actions? Using DP performance degrades, If Yes why? How to close all the opened browsers? Diff b/w SystemUtil.Run and invoke application? If qtp not recognized the combo box How to select values from drop down?
i have doubt suppose iam purly working in QTP, when i will work on sql and performence testing? pls any one clarify doubt?
How can I check if a environment variable exist or not?
What is the script for database check point, bitmapchek point, regular expression ?
What are the major/ important methods, functions in QTP we use realtime testing