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
www.icici.com after this home page wll came, in this page what r the items we r going to test for manual and what the element we r test for QTP... explian clearly with example
How can you identify the browser and its information using the qtp script?
What is the difference between keyword view and expert view?
Describe the differences between functions and actions in UFT?
Hi All, I need code for how to execute qtp scripts from excell sheet
i can done the project with QTP in that time i can say how many members in my team size?
your coming from electrical backgroung..but y ur coming to software side?
What is object repository in qtp?
Hello friends..... On which areas of an application we can not test with QTP
what r the verstions from 1st to present (verstions) of mercury tools (like winrunner,QTP,Loadrunner) ? Chandana
What are the advantages of a Hybrid framework?
how many maximum number of virtual users we can create?
Hi am New to Automation Testing , any one can you help me what are the basic questiion are asked an interview?
What are the disadvantages of recording test cases in qtp?
what testplan contents and what test strategy contents,what is the diff b/w them