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 |
w is recovery senario manager
Hi All, I have QTP installed on my machine but the application under test is on remote machine. I need to automate the scenarios which consist of automatically enter the remote machine through IP address ,record the application in remote machine and run it also when played. Can some one tell how to record the application in remote machine.
Hi, My Application in Microsoft Dynamic Navision, is it compitibale with QTP? if yes then let me know...and also let me know is there any other automation tool availabe to automate Microsoft Dynamic Navision. Thanks Sandip. +91-9714177088
hi all QTP recognizing objects as "string_1","string_2","string_3","string_4" like that but when using FOR LOOP for these.QTP not proceeding further can i declare these _1,_2,_3,_4 as a single variable
can any one tell me How exactly data drivent testing is done in.explain with any example and the exact steps to fallow?
How to create Userdefined Function.Please write the steps ans also provide example where exatcly we use it.
write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object..
HOW TO FIND WEBTABLE? HOW TO RETRIVE THE WEBTABLE VALUES? PLZ TELL ME THE PROCEDURE.
can u pls explain me About Driver script.
What is Object Spy?
7 Answers JKH, Ordain Solutions,
How do I modify a value of an elemnt which is not the first one in xml file? My sample XML file is like: <Environment> <Variable> <Name>Name</Name> <Value>Uday Kumar</Value> </Variable> <Variable> <Name>Designation</Name> <Value>Senior Software Engineer</Value> </Variable> </Environment> for example, I'd like to change the value 'Senior Software Engineer' to 'Student' in the second element. How do I do it in QTP?
What is output value? How many types of output values are there in qtp?