Follow Our FB Page << >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

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


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

In your QTP framework, what checkpoints were applied in the script to minimize script failure due to any reason during execution?

1 Answers   ITC Infotech,

what is spy, and how can u use?

1 Answers  

we have one text box and one list box(list box appear in same page or another page) what ever the text enter in text box that must be displyed in list box as first one. for example if we enter 10 in text box that is the 1st item in list box . after that we enter 11 then 11 is the 1st item and 10 is 2nd item. the maximum limit of list box is 10 items. if we enter 11th item the 10th item is deleted and llth one is add as 1st one and 9th one goes to 10th position

3 Answers   Covansys,

If I change the object name in one action will it be updated in all the actions? Or not?

0 Answers  

How to database testing by manualy?in my db having 100 records when i am retriving the data from db it shows in frent end 30 records how to find bug using QTP?plz Exp realtimers (Chandana)

7 Answers   Wipro,

What is the extension of the recovery scenario file in qtp?

0 Answers  

suppose i have one datatable in my datatable in 2 nd row 3rd column one link is ther i need to validate that link how do u do this?(wipro)

4 Answers   Fidelity, Wipro,

What are the features and benefits of quick test pro (qtp 8.0)?

0 Answers  

Hi All, I am 4 yrs experieced in manual testing and new to automation tool QTP. Iam trying to learn it thru online and material i have.I am able to understand but unable to trace out which method or function to be used where necessary in VB Script. How come we know the functions or methods to be used to open a window when clicking on button or so...Pls suggest me.How can i proceed further to apt VB Script.

0 Answers  

Hello everybody, can we maintain the state of page in QTP? 1. suppose i opened a notepad text file i entered some text and changed the font type and font size and saved that file. 2. Now next time when i will open a new notepad file it is showing me that font type and size which i changed in my previous step. 3. Here i want that QTP should capture the default setting i.e. it should maintain the state of the page. Thanks in advance, Gaytri

0 Answers  

How would you parameterize the text field "Country" and the same "country" when it appears as combo field on other page with text field city and same with City combo field?

1 Answers   Adobe, Patni,

How do u do batch testing in WR & is it possible to do in QTP, if so explain?

1 Answers   Crea,