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 do you delete unwanted results in qtp?
when we apply the daily build each and every day,the property may change in the application.so that the created script is not reusable in winrunner and qtp.for ex for date field it is taken dtpicker.at another time it is taken some other name.how can i solve it.
I had created the new virtual objects for web application buttons. how to add those virtual objects into object repository. Previously i had used Gui map in winrunner for capturing virtual objects for web application. Please help me regarding this. need your answer quickly
write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object..
if my application shows 100 records and in my database having 200 records how i can validate using QTP tool?plz exp. in detail?
what is the extension for QTP files?
Older version QTP is 8.2 and New version QTP is 9.2. My question is, Why it is QTP 9.2, why not 8.3,8.4 .... why it is not something ?
How to load a object repository in QTP during runtime?
2 Answers BNP Paribas, Virtusa,
hen do start automation testing after manual testing
For example you are checking bit map check point before coming to the results. How can you say it is passed? Or failed? Anyways?
can we call runaction in the funcion
What is meant by Environmental variables?2 types r there know…can u pls explain clearly?