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

Mention what is vbscript?

0 Answers  


Hi, can any one tell this Actually I AM NEW TO QTP I have one qtp script in which it calls the vbs file during it's run TIME by using the ExecuteFile "absolute path" If the vbs file is executed seperately it will give the output in a msgbox In the same way if qtp script is executed the result will be displayed in w result window right? Now the question is how to get that vbs file output in the qtp result window when I run the qtp script which calls the vbsfile during it's run TIME

1 Answers  


can any body give the code to write the function for given suppose user login with usrer id and pwd to yahoomail.after cliking "sign in"if it is valid user id the next page will display userid'message box.( Note u have to use excel sheet to retrive the userid's data)

3 Answers   Bally Technologies,


Mention how to assign a date value to a variable?

0 Answers  


how to operate webobjects in a webpage using getobject function and then using generic methods?

0 Answers  






How to declare an array in vbscript?

0 Answers  


For a webbased application:- what should be code in expert veiw, for retrieving a single column name "username" from a server and checking whether exported "username" from datatable doesn't exist in server. suppose i have saved in excelsheet a username="gayatri" , which is exported, then checked for whether this username "gayatri" exist in server database or not ? if exist then allow to enter new username, which should be again checked for in loop , or else come out of loop and enter a distinct "username". plz let me have this answer in my id gayatrisahooin@hotmail.com

0 Answers  


What are the properties of regexp object?

0 Answers  


I'm new to QTP, i facing a a problem in the script says"Object not found", "Browser("").page("").frame(Name:=fminfo).webtable(). the issue is, QTp is not able to identify the web table in run time.becuase in that fram"fminfo" there are "n"table and the table do not have the names,Html id. 1) i need to count the number webtables available on that page. 2)need to identify the webtable cell values. 3)How Loop the once i get the count and retrive the cell data of each webtable? Can anyone help on this, plz.. Thanks, Suresh

3 Answers  


Which operator can be used to change the value of the operand or change the state of the condition?

0 Answers  


Hello Guys, If any body looking for "worksoft certify tool training in bangalore", please contact me aimansaud@gmail.com

0 Answers  


Program to use input box and send even numbers into sheet1 and odd numbers into sheet2 and prime numbers into sheet3 using vbscript(QTP)?

0 Answers   Tech Mahindra,


Categories