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
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 |
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 |
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 |
Explain what the difference between Shared Repository and Per_Action Repository
How to invoke QTP using Dos prompt ?
what is the use of Text output value in Qtp?
I created 3 actions in test suppose I want to run action 1 in single time, action 2 is 4 time what I do?
How to handle the exceptions using recovery scenario manager in QTP?
How will u integrate oracel with QTP?
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
what is command for executing files?
Hi, How to give drop down values as input [Variable] from data table in QTP? If u know share with me.
How do you handle XML exceptions in QTP (Here it is Exception, not the checkpoint)
what are the drawbacks for record and payback in qtp
How to connect the remote desktop using QTP 9.2 explain the method or procedure?
0 Answers Magna Infotech, Oracle,