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

How will you enchance the script?

1 Answers  


what is use of optionexplicit in variable declaration

5 Answers   GE,


what is the difference between wait and wait function

1 Answers   TCS, Wipro,


Got job with 3 years fake Experience

1 Answers   MNC,


how do u retrieve data from a database ? i.e. i want to retrieve 2nd record only from a database ? write code for this. by using ADODB connecton, RSOBJ and using a FOR loop we can retrieve all the records( ex: if we give query as select * from emp). but i want only 2nd record. so how to acheive this.

2 Answers   Accenture,


what type of scripts are asked in qtp?

2 Answers  


How to invoke QTP using Dos prompt ?

2 Answers   ABC,


My Application is a client server application , but there is one functionality , when we click on one particular icon it launches web browser . When I am recording in QTP , By select approprait web add in also , it not able to record in web page , I am able to record till click on the icon. Please provide me how to over come this type of problem.

2 Answers  


IF there are seven browsers with same name open. I want to close one particular browser thru QTP. how can i do this?

3 Answers   Polaris,


What is the difference between property and method?

2 Answers  


What are the Automation Limitations??

1 Answers  


what is retesting?

2 Answers  


Categories