what is the code in QTP to take screen shot?
Answers were Sorted based on User's Feedback
Answer / reddy prasad
syntax:
object hierarchy.capturebitmap "path to save the bitmap"
eg:
Browser("Flight").Page("Flight").ActiveX
("Calendar").CaptureBitmap "D\extra\screen_short\defect.bmp"
| Is This Answer Correct ? | 9 Yes | 0 No |
Answer / din
This is a good answer. It is working fine for me but How can I make it as function and pass screenshot name as a parameter for different screenshots?
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / aruna
Capture Bitmap Function
Browser("Flight").Page("Flight").ActiveX
("Calendar").CaptureBitmap "calendar.bmp"
| Is This Answer Correct ? | 2 Yes | 5 No |
How to break the object spy ?
What is test object model in quicktest professional?
What are the Application Functions available in QTP?
How i can use Regular expression in QTP?give detailed steps for it.
How to connect to a database?
what skills needed to be good test automation?
How to add a runtime parameter to a data sheet?
How can you exit from an action?
Which object model ur used in ur project
Have you performed Debugging and how did you?
How to convert manual test cases to automated testcases
can objects recogonised without repository?