How to capture screen shots when an error occurs?
Answer Posted / lak
Objectheirarchy.CaptureBitmap "path"
for ex
to capture any window
Window("Flight Reservation").CaptureBitmap "C:\pic1.bmp"
to capture combo box(tool)
Window("Flight Reservation").WinComboBox("Fly
From:").CaptureBitmap "C:\pic2.bmp"
This is used in QTP.
www.funandknowledge.blogspot.com
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Any body have QTP 9.5 licence key. please provide me at madhukar_dec30@yahoo.co.in
Where we can use the analog mode and where we can use the low – level mode?
What is the significance of “action 0” in qtp?
Is qtp supports uni-code?
what is clean sweep?
what kind of frame work you used in your last project?
How to explain a banking project in interview as a test engineer???
What is CMMP and CMMH?
I am a new tester that needs to create an automatic script involving security questions. On a webpage I need to select a security question(which are random) from a drop down menu, and then input the answer as the last word from the security question. I have the script set-up to automatically select the first security question from the drop down. The problem I am having is trying to insert the security answer. How do I insert the security answer based on the selection from the security question?
i have doubt suppose iam purly working in manual, when i will get work to do on sql and performence testing? pls any one clarify doubt?
How to test background color and dynamic images during run time can you put the check point for moving objects?
How do you do batch testing in wr and is it possible to do in qtp, if so explain?
How will you check that your test cases covered all the requirements?
Can you list some technologies that support qtp?
What are the disadvantages of recording test cases in qtp?