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

what are the frame work models of qtp?which frame work you follow in your company?and explain it process?

2558


What is the pros and cons between QTP and Rational Robot

3777


How to attach a file to TD?

1149


Why bpt?

1063


Write a script to verify font style and color of a windows object using descriptive programming

1402


How you know that a test case is a regression test case

3992


what is profile tool?

2227


How many types of recording facility are available in quicktest professional (qtp)?

1064


What is the difference between per-action and shared?

1138


What are the differences between quicktest professional (qtp) and winrunner?

1055


What is the use of Debug Viewer?

1942


I want to know can we integrate visual source safe tool with QTP and QC for our version controlling process? WE know QTP and QC 10.0 version is having the version control inbuilt in it but I want to know the merits and demerits of the inbuilt version control tool and the visual source safe tool using QTP and QC.

3047


what difference between runtime object and text object and what property they have. whether they have same properties or different properties.

2193


explain keyword driven framework with banking domain?

2019


Explain the concept of object repository and how QTP recognizes objects?

1049