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

Answer Posted / arunsingh

By using object.capturebitmap("c:\snap.bmp")
we can capture the screenshots of any screen at runtime.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the qtp testing process?

599


Hi frens! I am testing VB project with MS Access database. At add button click my record is storing in data table and it is shown in datagrid. So at Delete button click i want to check datagrid rows 9before and after delete). so how can i do it using descriptive programming?

1473


how do u manipulating INI, DLL and / or registry files in support of your test environment? actually what do u mean by INI and DLL or registry files. plzzz its urgent do answer

1450


In an interview, what r the general questions asked in QTP? pls give me anwser to this question?

1420


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

570






explain abt dyanamic changing object with example?

1903


What are the key points to create a framework in QTP for oracle forms?

1811


When to use descriptive programming?

593


What is action?

577


when a test case is written how u test using qtp

1655


For example you are checking bit map check point before coming to the results. How can you say it is passed? Or failed? Anyways?

617


Explain how you can replace string in qtp?

607


How to use transactions in qtp?

565


How to customize qtp?

614


Hi any body pls help me for QTP 11.0 software free demo version. i have to practice. Kindly send the link.or where i have to download.

1701