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 get the object property
How to do Batch run in qtp? provide the steps?
What is the difference between QTP 8.2 and QTP 9.2
How can you pass value one action to another action?
What is Descriptive Programing? In which cases, we will go for descriptive programing?
How to perform cross platform testing and cross browser testing using qtp? Can you explain giving some example?
Differentiate the two Object Repository Types of QTP.
is it possible to change the date format like MM/DD/YY into DD/MM?YY through script in QTP
plz anybody tell me how to explain the architecture of one particular project.plz give me answer for this.....RAJESH
what is impact analysis on regression testing?
I want to know how to execute the descriptive programming in qtp for the webedit object which does not contain attached text property. but i have checked it with name and html id property. Even though it is not executing. it is giving error in object's physical description.
Is it possible to call win runner script in qtp?