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
If u r using library files (Instead of Check Points) , How do u do bitmap check ?
What are the methods used in UFT to handle exceptions or run-time errors?
Explain the concept of object repository and how quicktest professional recognises objects?
Is any limitation to xml checkpoints?
Explain in brief about the quicktest professional (qtp) automation object model?
How to use descriptive programming?
Differentiate the type of test cases which can be automated and which cannot be automated?
How do you do batch testing in wr and is it possible to do in qtp, if so explain?
Where we use data driver in qtp?
What is Unicode Compatibility?
when u script reveiwing in which area u more concentrates?
How can i test an application like Google Earth.In my application data will be fetched from a oracle database based upon which graphs are generated..so these all are dynamic..how can i use qtp here..alongwith that how can i test the map generated by a satellite just like google earth..
suppose i login into gmail page after that i read all the messages (say 10 messages) i have to send (SAVE) the messages in Html,notepad and i have to replay(Compose) send the messages please give me the code and give mail id so that i can clear my question
In keyward driven framework what will be the step for yahoo login page ,inbox logout,plz explain in detail
Explain advantages and disadvantages kdf?