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...

What is the use of sendkeys.In which cases we Use this
sendkey.Pls explain with example.

Answer Posted / kishan

eg:

Browser().Page().webEdit("uname").set "kishan"
'to focus on a specific object use "Click" method
Browser().page().webedit("uname").click

'create ref to wscript.shell object
set wsh=createObject("Wscript.shell")
'to go the next field using TAB
wsh.sendkeys("{TAB}")
'to send the text "mypwd" in the next field
wsh.sendkeys("mypwd")

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the extension of qtp local repository?

1014


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

2070


what is actually contain test report? can anybody post the test report

1975


can test automation improve test effectiveness?

1977


how to find that a file has been completely downloaded or not? I told that "download Complete" pop up. but he told the tool doesn't recognize the pop up

4597


Connect to QC using AOM.

1679


When I click on a link in web page.Link should open in new window.can anyone please let me know the script for this ---Koti

2908


i am new QTP... please tell me automation frameworks , types & for whiich type of applications frameworks are used & how to generate script in keyword driven framework

2103


Please provide specific examples of advanced/creative usage of QTP, including how impact & benefits for your project

2085


What is a reusable action?

1004


What is optional step in qtp? How you can add optional step in qtp?

975


What is the meaning Work bench?

2219


What is the use of running the scripts in Hidden-mode in UFT?

1216


what are the limitations of smart identification in qtp 9.0

2368


If you have two monitors one is of 19inch and the 2nd one is of 24inch,if you want to write same QTP script in both the two monitors is there any changes required in the script?

2018