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 |
.how will you load the object during runtime
what is the mediater between qtp and application/project in automation testing?
How do u do batch testing in WR & is it possible to do in QTP, if so explain?
Explain calling sub procedure.
What is meant by Repository?
7 Answers ALFiNE IT Solutions, Four soft,
How many test scripts are prapare in ur project(HeathCare Insurance).
in a web page How to check and display a particular word from a paragraph?
I have two actions in my QTP test and two iterations in my DataSheet. I want to execute the Action 1 for the two iterations only after which i want to exceute the next Action2. How is this possible?
What is qtp window?
what are the environment variables,how do you use them. give an example.
What are the Test design techniques you uses in ur project?
can we install qtp on server machine and do automation of application which is installed on client machine.If yes then how? If no then is there any other automation tool for this (client-server) senario.