Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is the code in QTP to take screen shot?

Answers were Sorted based on User's Feedback



what is the code in QTP to take screen shot?..

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

what is the code in QTP to take screen shot?..

Answer / litan

Desktop.Capturebitmap "D:\ImageName.JPG"

Is This Answer Correct ?    5 Yes 5 No

what is the code in QTP to take screen shot?..

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

what is the code in QTP to take screen shot?..

Answer / aruna

Capture Bitmap Function

Browser("Flight").Page("Flight").ActiveX
("Calendar").CaptureBitmap "calendar.bmp"

Is This Answer Correct ?    2 Yes 5 No

Post New Answer

More QTP Interview Questions

how will u do database testing in qtp? how will u do the same with descriptive programming?

1 Answers   Ordain Solutions,


How to use reporter.report event in qtp ?

0 Answers  


What is the difference between local and shared object repository in qtp?

0 Answers  


Can we put more than one action in a single script???? yes or no.....

2 Answers   BirlaSoft,


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

5 Answers  


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.

2 Answers  


What is use of object spy?

0 Answers  


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

6 Answers   iton, TATA,


Is text area check point supports for web applications?

0 Answers  


after click on compose mail how can we attached a file in qtp with vbscript code

0 Answers  


what type automation is fofollowed in the project?

1 Answers   Satyam,


Explain advantages and disadvantages kdf?

0 Answers  


Categories