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

How will you declare a variable in qtp?

562


How to find operating system information using the qtp script?

591


how will you check how many members visited the website www.infosys.com?

1490


Explain the terms test and business component?

556


When Recovery scenario actually starts while testing the application?

1556






how to explain a claims and insurance project?

1758


I want to know what are QTP functons and what are VB script functions. What is the difference between them.When we have to use these functions.

1311


How does qtp identify gui object?

594


What is the meaning Work bench?

1772


What is the default add-ins in qtp?

564


What does it mean when a check point is in red color? What do you do?

572


Hi Friends, How many types of Data Bases available in market... What is the diff. while using Syabase and Oracle in a Project... ? and what is the main diff. of Syabase and Oracle databases... ? Thanx in advance..

1529


Differences between text and test area checkpoints?

590


How can you identify the browser and its information using the qtp script?

591


Explain the types of object repository?

562