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

requirement is for combo box your expected value is str= "Denver.Frankfurt.London.Los Angeles.Paris.Portland.San Francisco.Seattle.Sydney.Zurich" you must get the text in combo box and need to compare them how

1726


Difference between copy to action and call to action?

779


What are the different attribute used with regular expression?

723


What does it mean when a check point is in red color? What do you do?

799


What is Port testing. Whhen will you perform?

1710


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

802


hi can any body give me a script for creating a modularity or keyword driven framework..i am working as a qtp tester for 2 months but still i am not exposed to framework in my company

1676


Give me At Least 5 Differences between DOCUMENTATION OBJECT MODEL(DOM)and COMPONENT OBJECT MODEL(COM)? Interviewer said me to WRITE the difference only in points not as you WRITE a paragraph ???? only in points

1888


Can any give an example(if possible templates) how to test web application using QTP. thanks in advance

1791


How would you export a script from one pc to another in qtp?

884


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

4494


What is post recovery scenario?

1885


How are actions and functions different in QTP?

863


how to find that a file has been completely downloaded or not? I told that "download Complete" pop up. but he told the tool doesn't recognize the pop up

4116


Can anyone help.i need total excelsheet operations,shortcuts in testing environment from starting onwards....

1682