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


Hi All,
I am using QTP for one of the Desktop
application which uses Keyboard inputs like 'Tab ,F7 etc'
and also mouse (Click).
After recording when i am running the Script ,it is not
able to recognize the keyboard inputs like F7,Tab and mouse
Click because of which either i have to skip that part or
manually do the inputs.

Please answer how can i make script more flexible so that
it will recognize both keyboard and mouse operations.

Answers were Sorted based on User's Feedback



Hi All, I am using QTP for one of the Desktop application which uses Keyboard inputs..

Answer / umashankar

u can code that part using WSH method of QTP.

set ws = createObject(WSShell.scripting)
ws.sendkeys "{TAB}"

Is This Answer Correct ?    4 Yes 1 No

Hi All, I am using QTP for one of the Desktop application which uses Keyboard inputs..

Answer / sunil.sam

Thank You Umashankar for the prompt Reply ,
The suggestion helped me to control keyboard Function but
still am facing problem with the Mouse control.
So Can u tell me how to take care of that ?

Is This Answer Correct ?    0 Yes 1 No

Hi All, I am using QTP for one of the Desktop application which uses Keyboard inputs..

Answer / umashankar

this can be achieved by using Fireevent onmouseover. try
this and if u r not able to get it mention ur question
clearly

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More QTP Interview Questions

Explain what the difference between Shared Repository and Per_Action Repository

2 Answers  


How to invoke QTP using Dos prompt ?

2 Answers   ABC,


what is the use of Text output value in Qtp?

2 Answers  


I created 3 actions in test suppose I want to run action 1 in single time, action 2 is 4 time what I do?

0 Answers  


How to handle the exceptions using recovery scenario manager in QTP?

1 Answers   Crea,


How will u integrate oracel with QTP?

2 Answers   Microsoft,


tell me about if in the interview what i should tell about pharma application,what r the pharma application concepts,i need pharma application testing features

0 Answers  


what is command for executing files?

0 Answers   VSoft,


Hi, How to give drop down values as input [Variable] from data table in QTP? If u know share with me.

3 Answers  


How do you handle XML exceptions in QTP (Here it is Exception, not the checkpoint)

2 Answers   CFC, CTS,


what are the drawbacks for record and payback in qtp

3 Answers  


How to connect the remote desktop using QTP 9.2 explain the method or procedure?

0 Answers   Magna Infotech, Oracle,


Categories