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 |
I am using Shared OR, and my collegues are also using Shared OR. How to merge Object Repositories?
WHAT ARE THE SHORTCUT KEYS IN QTP?
How many types of object repository in qtp?
what are the frame work models of qtp?which frame work you follow in your company?and explain it process?
Give me brief idea about QTP automation object model?
What is a Run Time Data table?
How are actions and functions different in QTP?
1.how can we report the QTP test result in a different excel sheet 2.
Explain the features of quick test pro(qtp)?
What do you do if QTP doesn't recognize object ,what action should be taken
I want to export the datasheet to excel.Instead of total file it exports only data without headers.How to solve this problem?
what is the defference between QTP 8.2 and 9.0and 9.2? plz tell me