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

When u ll use Record Button in QTP?Is VB script is Mandatory in QTP? What is Meaning of Frame("v1")?

1 Answers   TCS,


in my system object spy show the web application as a window based propeties ex:winedit like that and also not recording scripts also so what should i do

2 Answers  


what is the extension of new local object repository?

5 Answers  


How do you return a value for an array.

1 Answers  


What is the difference between a Test and a Business Component? Is it necessary to use Business Component while testing an application in the real time?

2 Answers  


After geting the modules where we generate the script ie in qtp or notpad ?

1 Answers  


I've some problem in Descriptive programming plz help me. I've written in a click event code in Functional library when I run this flight reservation program It is not run. How to I write multiple click event in functional library. My program is this. I have associate an action with functional library. Public Function ClickButton(byval ApplicationName, byval WindowName, byval ObjectName, byref Comments) If Dialog("text:=" &WindowName).WinButton("text:=" &ObjectName).Exist Then Dialog("text:=" &WindowName).Activate Dialog("text:=" &WindowName).WinButton("text:=" &ObjectName).Click Elseif Window("text:="&ApplicationName).WinButton("text:=" &ObjectName).Exist Then Window("text:=" &ApplicationName).Activate Window("text:=" &ApplicationName).WinButton("text:=" &ObjectName).Click End if End Function

2 Answers   Amdocs,


Why do we go for Qtp? What are the advantages of qtp? Diff between winrunner and Qtp?

3 Answers   Symphony,


How to automate a script in mainframes environment? I have the terminal emulator Add in. Describe in detail.

0 Answers  


Flight reservation using input and output parameter script.

1 Answers  


hi i need to learn qtp its very urgent..pls tell me who is the best faculty for qtp in hyd..... and i plan to go foe mindq nageshwar rao? its good or not?

2 Answers  


Output values? i want a practical example

0 Answers  


Categories