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

qtp script for recording and running the application.need
script for short cut keys like f3,f4 etc.how to write
script for recording?

Answer Posted / neeraj

Suppose steps in application are as below

Steps:
1: Click on add ( ctrl+a)
2: enter "hi"
3: click on save (ctrl+s)

use sendkey concept

Set objShell = WScript.CreateObject("WScript.Shell")
objShell.sendkeys "^a"
objShell.sendkeys "hi"
objShell.sendkeys "^s"

For more information refer below: http://abcinqtp.blogspot.com/2011/02/how-to-use-sendkey-in-qtp-script.html

set objShell = nothing

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to define array in qtp?

995


how to do the batch testing in test director using manual testing procedure?

2355


What is the quicktest professional (qtp) testing process?

995


I used child objects to get the no of weblist present in the weblist.now i need to select the items present in each weblist ?How to do so

2683


Which recording modes need more memory?

1044


How can get count of list box?

1122


What is the meaning Work bench?

2208


What are the different types of checkpoints?

1034


What is object spy in quicktest professional?

1090


what is the difference between data driver & data driven and driver script?

2734


What is the expert view?

978


Can I change properties of a test object?

1120


Explain the difference between check point and output value?

986


Explain the keyword driven framework for the window based application complete creation of library files,env file,test data,recovery file,excel file ,repository etc and as a test engineer how is ur approach

2032


Explain quicktest professional testing process?

1003