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
Both static and dynamic arrays are handled by the vb script. Is it true?
Can anyone pls tell me how to do action parameterization (input and output parameters) with respect to login window and insert order of flight reservation window in detail( pls give a clear step by step explanation with example) anyone please. Will be very thankful to u
what is the diff between manual test plan document and automation test plan doc.can u explain indetail.
if our qtp vb Script may be Currepted then What we want do?
Difference between copy to action and call to action?
What is the script for database check point, bitmapchek point, regular expression ?
I want to write some certification courses, so friends could you guide me? which certification is best and how to write exam and what tutorials need to be studied,what to do first, I am working on automation tool QTP 9.2
Suggest and Define a solution for an application whose objects are not recognized by UFT?
Can any one tell me about "Mapping Repository Parameter Values" and why we use it....??How to use it???Please, tell the preconditions also...........???? Thanks in Advance
How to interact tool & application build in QTP?
What is the extension of the recovery scenario file in qtp?
How many tabs are available in debug viewer pane?
What is Cross browser testing? Does UFT support it?
How many types of Automation frameworks are there in UFT? Describe them.
How do you create new test sets in td?