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


Please Help Members By Posting Answers For Below Questions

Shall we add Local Repository to shared object repository,if yes,how we add

5701


How to add verification steps to tests?

9130


what type of values given to objects. EX::Set oBrowser=Description.Create oBrowser(“micclass”).Value=”Browser”

1490


How to execute the WR Script through QTP? I have WinRunner script with initialization script, common scripts, GUI AND functions. I connected WR through QTP with "call to WinRunner" option but I am getting problem after connecting to WinRunner i.e. showing "Do you want to quit now" with 'yes' and 'No' message box

1833


i have two questions for regular expression :- Q1. I have date pattern eg-29/11/2011 29-11-2011 29.11.2011 Que- if any separator is there between date,month and year pattern should match else it should not match eg- pattern should not match in case of 2911-2011 Q2. let say i have a string and there is a number in between of that string eg.-Amount 30002.234 successfully credited to your account . now i have to match this pattern in such a way that even if decimal is not there pattern should match ,how i will do this using regular expression

1027






how will you load the test cases in ddt?

1598


one screen page,that contains file , browse , update and cancel buttons.when we browse a file it should get update otherwise it should go to previous page.write negative test case for that.

1529


Explain the types of object repository?

558


Why bpt?

594


Write a script to verify font style and color of a windows object using descriptive programming

837


How many scripts did you have?

1701


Is it possible to change the property value at runtime? How it is possible?

575


how can i pass a "cript"as a parameter in to a function

1461


I want to know can we integrate visual source safe tool with QTP and QC for our version controlling process? WE know QTP and QC 10.0 version is having the version control inbuilt in it but I want to know the merits and demerits of the inbuilt version control tool and the visual source safe tool using QTP and QC.

2470


What is TOM in QTP?

1806