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 |
what are the parameters you are considering for object identification?
In the website, the protocol has been changed http: to https what you will do? Tell me your approach?
please any one can explain the keyword driven framework. with gmail example.
how to click the link in webpage by using QTP Script????????
How to fetch web elements count from Google Page which contains letter "e"
What are the types of data tables in qtp?
Explain about business process component? types and usage?
In our application (Web based application)we will get a pdf file and we have check a particular text in that pdf. Can any one tell how to check text in a pdf file. In the same pdf file it generating some links and I have to click that links. QTP unable recognizing that links, even id did record and playback qtp does not generating any script. Can any one help me….?
how can we merge the object repositories?is ther any option in qtp to merge the object repositories if we have two or three object repositories?
can we enable smart identification for test object
What is the difference between property and method?
Why to use descriptive programming?