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 we run batch tests in qtp what is the process to run the multiple test sets?

3 Answers  


What are the advantages of QTP over WinRunner?

5 Answers   CTS,


What is the exact difference between QTP and RFT ?

2 Answers   CTS,


you are recording on "WINDOW 1", say it has a link if you click on that, that leads you to "WINDOW 2". If you do any manipulations on "WINDOW 2" that are automatically updated in to "WINDOW 1". But "WINDOW 1" is currently invisible. But the updations in "WINDOW 1" must also be recorded as a script in QTP. The best Example is if you update your resume in JOB STREET portal it actually happens in other window, but the previous window is automatically updated. Now does QTP help you in this types of situations? Any body can answer this question. please..... Siva

0 Answers   Covansys,


Think and Reply.. can we parameterize radio buttons, check boxes? as in flight web site on flight preference page, choosing different flight produces trouble if from port and to port been parameterize, and runs. Try it by own you will get the error.

3 Answers   Patni,


in my application,validation message has in japanise language.how to validate this message is appears properly or not

0 Answers  


Hi I am new to QTP. can u please answer to my qus... suppose 3 excel sheets are there * we are trying to check for login credentials for a page. userid from excel1 , password is from excel2 whether the page is opened or not that checkpoint is result is should be stored in excel 3.... this qus i have faced in IBM technical round... please tell script for above query ... please please

0 Answers   IBM,


What type of error u will get if u have not installed java add in in java project? what is the error name ?

1 Answers   Verizon,


how to pass parameters from one action to another using output parameters I am not calling action 2 from action 1, they are being called individually I need syntax please .. Requirement: Action 1 customer = Browser(" ").Page(" ").Link(" ").GetROProperty("value") I want to use the value stored in customer in Action 2 I do not want to use any of these actions as re-usable actions

2 Answers  


please write a script to find the text in a application. Note: i dont know the location of that text where it is located. just like negative testing.

2 Answers   BSL,


What does VBS file contain..? what is VBS file.?

4 Answers  


Hi, I have weblist which contains the data like Design change,admin edit and cost saving etc.. User doesn't know the values existed in weblist. Now the user has to select the right value from the list otherwise the test will fail. Pls help me "To select the correct value from the list"

1 Answers  


Categories