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

If there are 100 checkboes in a page then how can we select 10th & 11th & 14th chexkboxes at once through descriptive programing in QTP using vb script. Please send the answers...

5 Answers   NTT Data,


What is Optional step?

4 Answers  


What is the difference between systemUtil and invoke method..?

5 Answers  


str="QTP AUTOMATION TESTING" here how many T are there in the str finally i want to display the T

10 Answers   HCL,


How would you directly trigger javascript in a test?

0 Answers   eBay,






Can we access the java methods in qtp. Because my requirement is to access the swt(for eclipse an it is java code) methods in qtp is it possible?

0 Answers  


How to handle the exceptions using the recovery scenario manager in qtp?

0 Answers  


Explain how Selenium is different from UFT?

0 Answers  


What is the D/B Test managemet tool and bug trcking tool? Ans send to pbr.qtp@gmail.com

1 Answers   Cap Gemini,


1.can we parameterise object repository?how we can do it? 2.there is a name "mallikharjun".i want to get the vowels in it through VBSCRIPT?

3 Answers   Tech Mahindra,


what is meant by source control?

0 Answers   Ordain Solutions,


Diff B/w Webserver and Client Server

2 Answers  


Categories