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 will u do database testing in qtp? how will u do the same with descriptive programming?
How to use reporter.report event in qtp ?
What is the difference between local and shared object repository in qtp?
Can we put more than one action in a single script???? yes or no.....
Hai Guys, can anybody show me how to write automaed test cases using VB scprit(examples)...i had an interviw soon...please guyz send as quickly as possible
We are using the QTP version 9.0 where we want to call objects from global repository for a particular function at runtime for increasing the performance of framework.We are actually looking for loading the objects under test (OAT) dynamically when script runs and would like to unload the same once the execution of the script is completed.
What is use of object spy?
how we can take data in the username field text box into variable in web application explain with example and give all functions to get data into variables
Is text area check point supports for web applications?
after click on compose mail how can we attached a file in qtp with vbscript code
what type automation is fofollowed in the project?
Explain advantages and disadvantages kdf?