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 |
1.what is the extension of action template? 2.what are the strengths and weaknesses of Keyword driven framework? 3.how qtp identify runtime objects?
While testing .net applications with QTP 9.1 in normal recording mode, QTP records my unintentional mouse clicks and window dragging which I don't want. But I can't stop QTP recording those mouse clicks and window dragging. Can somebody let me know how I can get rid of it, please ! Thanks.
What are the different types of Database checkpoints in QTP? when they are used?
what is the extension for QTP files?
16 Answers American Solutions,
Suppose i have some records in database now i want to use first 1000 records for one test and next 1000 to 2000 records for another test how can we do this just for ex oracle database pls tell me
What is your role and responsibilities in QTP with your current organization?
Brief the process of testing with UFT?
I want to export the datasheet to excel.Instead of total file it exports only data without headers.How to solve this problem?
Define Error Pane of UFT?
what is the difference between Reusable action and external action?
How to call script1 into script2?
Suppose u write test case in Excel sheet . how u open that test case in Test Director?