what is the code in QTP to take screen shot? Please send me
any one to my mail id. my mailid is manu.sanepalli@gmail.com

Answers were Sorted based on User's Feedback



what is the code in QTP to take screen shot? Please send me any one to my mail id. my mailid is ma..

Answer / pankaj jaju

Desktop.CaptureBitmap "C:\test.bmp"

Is This Answer Correct ?    5 Yes 0 No

what is the code in QTP to take screen shot? Please send me any one to my mail id. my mailid is ma..

Answer / manjunath

capturebitmap"path" method

Is This Answer Correct ?    2 Yes 0 No

what is the code in QTP to take screen shot? Please send me any one to my mail id. my mailid is ma..

Answer / sojan davis

Desktop.CaptureBitmap ScreenName,True

Is This Answer Correct ?    0 Yes 0 No

what is the code in QTP to take screen shot? Please send me any one to my mail id. my mailid is ma..

Answer / manjunathareddy

Oldmode=Setting("SnapshotReportMode")
Setting("SnapshotReportMode")=0

Dialog("Login").Activate
Dialog("Login").WinEdit("Agent Name:").Set "admin"
Dialog("Login").WinEdit("Password:").Set "mercury"
Dialog("Login").WinButton("OK").Click

Setting("SnapshotReportMode")=Oldmode

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More VB Script Interview Questions

Which loop is used in case of arrays in the vbscript language?

0 Answers  


. Program for sorting of numbers in vb script?

2 Answers   Talent Sprint,


how to write codings in QTP using vb script. please help me. i am new to QTP. it is easy or very much tough. please tell me

3 Answers   TCS,


What is the use of the instr function?

0 Answers  


How will you get the exponent of the given number in vbscript?

0 Answers  






what is resorceallocation

0 Answers  


Which keyword is used to declare a variable in the vbscript language?

0 Answers  


How to remove the spaces in a string Ex: "Welcome to QTPWorld" ?

10 Answers   Cap Gemini, CTS,


How to Convert Hex color code to color name in VB Script?

0 Answers  


Suppose by navigation I went from 1 st page to 5 page ,so Write a generic script for coming from any page to the 1st page and by executing where the page may be it will come to 1st page

1 Answers   CybAge,


What is the difference between javascript and vbscript?

0 Answers  


I want to import the sheet from the Excel to the Datatable using VB Script. I used the Syntax as 'Datatable.ImportSheet "Filename","SourceSheet","Destinat ionSheet" Ex: Datatable.ImportSheet "D:\Data1.xls","Sheet1","Global" Qtp producing run time error,How I can solve the problem

1 Answers  


Categories