How to capture screen shots when an error occurs?

Answers were Sorted based on User's Feedback



How to capture screen shots when an error occurs?..

Answer / poonam

Browser("browser_name").Page("page_name").CaptureBitmap
"C:\snap.bmp"

Is This Answer Correct ?    3 Yes 0 No

How to capture screen shots when an error occurs?..

Answer / jayadev acharam

If(----------) Then 'Error Occurs
Browser("abcd").micType micALT+micPRTSCR

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More QTP Interview Questions

abt filter function if iam using below two statments its ok My = Array ("Apples","Oranges", "Apricots") MyResult = Filter(My, "Oran") if i use msgbox MyResult it shows type mismatch plz help me

2 Answers  


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.........

0 Answers  


Can I compare two DataBases using QTP ?

1 Answers  


How to use actions in qtp ?

0 Answers  


In how may ways we can use checkpoints to an application using QTP?

3 Answers  


I am Facing Issues with learing datepicker 1)when i first learn datepicker as current system date . 2)if i wanna runtime datepicker value it gives error

0 Answers  


How to find operating system information using the qtp script?

0 Answers  


How can you merge two Object Repositories?

3 Answers  


where is the bitmap checkpoint be saved

1 Answers  


I Scheduled a QTP Script on remote desktop. Script is going to failure,when remote desktop connection fails.I have to open my remote desktop untile the scripts exection completes. If I disconnect my remote desktop connection, script is going to fail. Could you please any assist in this?

2 Answers  


How to compare the two strings?

2 Answers  


What is time parameter?

1 Answers  


Categories