During test run,How will you copy/paste from/to clipboard?
Answer Posted / zayed
Customise the below function for the object and c if this
is useful.
Function f_CopyAllToClipBoard ()
Dim vText, vWindow_PuTTY_WMenu_CopyAllToClipboard
Set vWindow_PuTTY_WMenu_CopyAllToClipboard = Window
("nativeclass:=PuTTY").WinMenu("menuobjtype:=4")
vWindow_PuTTY_WMenu_CopyAllToClipboard.Select "Copy All
to Clipboard"
'Clipboard object
Set cb=CreateObject("Mercury.Clipboard")
' Get the text on the system clipboard.
vText=cb.GetText
' Release the Clipboard object.
Set cb=nothing
f_CopyAllToClipBoard = vText
End Function
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What is the limitation to XML Checkpoints?
Which functionalities of QTP used in banking project? pls any say answer?
what is clean sweep?
what is vmodel?advantages and disadvantages of vmodel?
How can you exit from an action?
How to associate shared object repository to test in qtp?
What is data driver in qtp?
What is environment variable in qtp and why to use it?
In the application that I'm testing is having a WYSIWIYG editor.QTP is recording editor's body as web element. I want to add some data to this web Element at run time. The problem is that I cant find a method to add contents to this web Element. Can any one come up with an answer for this. Thankx.
banking project description for software tester
What is checking bitmaps?
What is the extension of the recovery scenario file in qtp?
Hi all can any one give me roles and responsibilities for QTP (not WINRUNNER)
supose i hv to acsess some functionlaties of a test in 1 machin , some part other machin how can acsess?
How extensive or customized are the server logging and reporting requirements; are they considered an integral part of the system and do they require testing?