During test run,How will you copy/paste from/to clipboard?

Answer Posted / nanda.d reddy

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we create a qtp test from qc?

588


How to recognise the webelement and verifying that webelement is enabled?

1644


Plz Explain AUTOMATION REFERENCE MODEL?

1681


How to test background color and dynamic images during run time can you put the check point for moving objects?

1447


How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?

3058






can any boby tell me what is method or steps to connect the remote desk top by using QTP 9.2 version?

1622


When do go for loop condition in test?

654


What are the trigger events in qtp?

573


What is the use of defining a newobject in the object repository "Define New TestOject". How to use this further. If we define new testobject, how can it recognizes the objects properties of any application.

1504


What is the pros and cons between QTP and Rational Robot

3284


Should have experience in framework means?

1417


Can anyone pls tell me in realtime (descriptive programming) how will the properties of the object be given to the test team. R they given in an excel sheet and is the same sheet also given to the development team and by whom is this given? Thanks a lot.

1564


How to open a new test using quicktest professional?

574


can any body plz help by sending the qtp docs and qtp ppt's? this is my mail id:murali.padeti@gmail.com

1760


Explain how you can delete excel file in qtp?

592