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
How to attach a file to TD?
How qtp identifies objects?
how could i download qtp in which i get add-in support for 'oracle' is there any way to get it? i finding but not getting pls help me out :)
I am a newbie to QTP / Automation testing. I want to develop a script that creates a data file automatically with proper headings using VBScript in QTP.
Give the syntax to load function at run time.
Analyzing the checpoint results?
• What type of testing questions will be asked for 2+ yrs exp people in interview?
banking domain description for software tester for interview
How to get the particular property value?
They asked by using qtp recording writing scripting
what is error and fault in terms of software quality?
what is test scheduleling?
how can we compare descriptive programing with a regular expression
Why to use descriptive programming?
Hai anyone please "Explain about Framework in QTP?"