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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Can anyone send me a vb script function for verifying the functionality of active links on a web page

1606


give me any information abou vb script books learn quckly

1667


How will you get the smallest subscript of an array in vbscript?

823


How to write a VBscript for web page performance test i need a code send if any knows the code If any knows VBScript book plz send to me the link to my mail plz

2397


Explain about tristate constants?

592






Explain the scope of the variables using dim, public, and private keywords respectively.

726


hi what is called GUI in QTP 8.2 and how can we test the apllication using GUI?

1793


How to write VB script for login module?

2682


Which object is used to work with the excel sheets in the vbscript language and what statement is used to create this object?

492


how to check whether link is disabled in QTP??

5637


What is the event handling in vbscript?

571


How will you convert a string to upper case string using vbscript?

567


How will you get a string with the specified character the specified number of times in vbscript?

581


how to automatically update the sql server2005 database records when insert in vb6?

1497


How to open a file. What is the perpose of true and false mode there?

618