During test run,How will you copy/paste from/to clipboard?
Answers were Sorted based on User's Feedback
Answer / 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 |
use the shell scripting sendkeys method:
set oShell = CreateObject("wscript.shell")
oShell.Sendkeys "^A" (Pressing the Ctrl+A keys)
oShell.sendkeys "^C" (Pressing the Ctrl+C keys)
OShell.sendkays "^V" (Pressing the Ctrl+V keys)
| Is This Answer Correct ? | 4 Yes | 6 No |
How good are you in writing VBscript code for your application? Can you completely write VBscrit for your project with out using recording mode in QTP?
What is Distributed testing? How does UFT support it?
What are the framework folders?
What is optional step in qtp? How you can add optional step in qtp?
What are the Features & Benefits of Quick Test Pro ?
What is difference between version 6.5 and 8.2 in QTP?
With out using the task manager,how to close the application using vbscript and what is the statement?
In 1st screen,if v enter a/c no. in one field, the information of the subscriber will be displayed. The details should be displayed only in screen 3(NOTE:details should not display in screen 2).How can v do using QTP.
QTP identifying the child tabs in a maintab like tab_1,tab_2,tab_3,tab_4 while using a for loop for these tabs.its not proceeding from _1 to _2. How can i use "for loop "
Is it possible to call out to Java from QTP?
Why a framework is needed?? Plaese post your answers ASAP
Hi. I have completed B.TECH(CS) , But I will go to "SECURITY CONSOLE OPERATING" [C.C CAMERA abservation]. IF interviwer asks " Why you choose this job ?" What we will say? urgent.........................urgent...........