How to take screen shot of desktop by using vb script code
or is there any method?
Answer Posted / uday
Use Desktop.capturebitmap function else
use WScript.sendkeys method for print screen.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Explain the parameter in qtp?
How to record a qtp script ?
any body plz send health care domain project to me with explanation any two modules on that project. mail_id: ranjith_99reddy@yahoo.co.in
How do we analyze the checkpoint results?
How to analyzing test results using quicktest professional (qtp)?
what are the issues we will get when there is migration from QTP 8.2 to QTP 10.0? Is there any problem in executing scripts of 8.2 on 10.0?
why should we give deliver good quality software?
If object is not recognized by qtp but the object is standard object what is your approach?
Which is the best QTP training institute in Delhi/NCR region and what is the approximate fee for QTP course (Basics and Advanced)
Explain the types of object repositorys in qtp?
Explain how Does Run time data (Parameterization) is handled in QTP?
whare exactly we have to use functions and sub routain
How to export quicktest professional results to an .xls file?
How do you open adobe acrobat file in QTP and do some testing on that file ?
I used the below code to open QTP through VBscript?But i can unable to Invoke QTP...PLZ help me with the correct code to invoke QTP through VBS with description of the code aswell. Dim qtApp 'As QuickTest.Application 'Declare the Application object variable Dim qtTest 'As QuickTest.Test 'Declare a Test object variable Dim qtResultsOpt 'Declare a Run Results Options object variable Set qtApp = CreateObject("QuickTest.Application") 'Create the Application object qtApp.Launch 'Start QuickTest qtApp.Visible = False 'Make the QuickTest application visible qtApp.Open "C:\form", True 'Open the test in read-only mode 'set run settings for the test Set qtTest = qtApp.Test qtTest.Run 'Run the test 'WScript.StdOut.Write "Status is: " & qtTest.LastRunResults.Status 'Check the results of the test run qtTest.Close 'Close the test qtApp.quit 'Close QuickTest Pro Set qtResultsOpt = Nothing 'Release the Run Results Options object Set qtTest = Nothing 'Release the Test object Set qtApp = Nothing 'Release the Application object