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 |
What are the problems / difficulties faced when you used Smart Identification ?
What are benefits of qtp?
object types is used for what?
I created 3 actions in test suppose I want to run action 1 in single time, action 2 is 4 time what I do?
Hi,The question is write a script for the following scenario. scenario:in a job portal i entered QTP 3yrs testing then click search button.then it displays results like Test lead bangalore (here is a checkbox). Test lead hyderabad check box so on... question is if test lead position in bangalore then checkbox shld be enabled automatically..
4 Answers Thatavarti Technologies,
i'm using QTP 8.2, How should i select(browse) object repository from desktop(or from local local drives like C:\,D:\)?. Note:- object repository to select(browse) is been sent by some other person who is using QTP 9.0
I want to install qtp software in my system, My operating system is vista . Anybody please suggest me how to get QTP software with licence key
How to make arguments optional in a function?
Hi, How to give drop down values as input [Variable] from data table in QTP? If u know share with me.
In smart identification, explain about 1. Base filter properties 2. optional filter properties with examples?
How should I get results when I run scripts in a Batch mode
Explain the difference between smart identification and object identification withn clear example. please it is very urgent