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
Please guide me release notes of Automation once scripts are completed
Hi, can explain the draw back of manual testing.plz send me the answer to my mail id deepthip1985@gmail.com
Hello friends..... On which areas of an application we can not test with QTP
What are the types of data tables in qtp?
How to build scripts that access data from external sources?
I have 5 save buttons in 5 tabs . The tabs are placed one after the other. My object repository have these added as 5 save buttons with name sav1, save 2, save 3 , save 4, save 5 .all are getting highlighted from OR but they are not getting clicked. After spying each button all the properties are same except First button Index 0 html id:=btnSaveTab1 outerhtml:=", Second button "html id:=btnSave "outerhtml:=", Third button "html id:=", outerhtml:=",
describe some problems that u had with automating testing tool?
tell me abt a time when u had to go above &beyind the call of duty to get the job done
What is Associate Repository in QTP 9.2 ?
i can done the project with QTP in that time i can say how many members in my team size?
how many maximum number of virtual users we can create?
Does quicktest professional (qtp) is unicode compatible?
What is the standard timing delay for web based application in qtp?
How many types of status are there?
Explain the concept of object repository and how quicktest professional (qtp) recognises objects?