Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



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

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

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

Answer / akshara

we will take a snap shot of that one. that is

Is This Answer Correct ?    1 Yes 3 No

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

Answer / 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

More QTP Interview Questions

How can i check items sorted or not in a weblist ? Give me the script for this...

0 Answers  


datatable.Import("E:\Programming Samples\QTP Samples\OrderNumbers.xls") Asume we have 4 records in datatable Code reads the 4 rows in the sheet ok, but does it 5 times? It doesn't sound like closing the datasheet is the problem Can we close the datasheet runtime ?

2 Answers  


why we use sendkey method in qtp?

2 Answers   ABC,


Analyzing the Checkpoint results ?

1 Answers   Crea,


Can we test the Word Document using QTP Tool? We should test the page size,page set up, paragraph indentation and spacing, font size of the the character int the page.

0 Answers  


Explain the difference between call to action and copy action?

0 Answers  


Can u Reduce the size of Object repository? What are the problems u have faced in Qtp tool?

2 Answers   IncRev,


What is the difference between Keyword Driven test and Data Driven test?

0 Answers  


Today only i joined in this site. Can u please tell me definition of parameterization. and how i can do the parameterization?

6 Answers  


how can i count the number of links???

2 Answers  


Batch testing in howmany ways u perfrom in QTP

3 Answers   Lehman Brothers,


After the execution of a script how do u upload the results to Quality Center. Pls anyone explain in detail. It is very urgent._______Thanks a lot!!

2 Answers   ABC,


Categories