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.
Answer Posted / 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 |
Post New Answer View All Answers
how we connect 1. qtp9.2 to the quality center9.0? 2. Load runner8.0 to the quality center9.0
Can any one say what exact diff between test->parameters, action properties-> parameters. after defining the parameters in test->settings, how can we access those parameters.(i know how to use action prop parameters)
Can we write winrunner language i.e TSL in QTP tool?
what QTP Options do you know?
Explain QTP using different development techniques ?
How reliable are the site's Internet connections required to be? And how does that affect backup system or redundant connection requirements and testing?
I want to know can we integrate visual source safe tool with QTP and QC for our version controlling process? WE know QTP and QC 10.0 version is having the version control inbuilt in it but I want to know the merits and demerits of the inbuilt version control tool and the visual source safe tool using QTP and QC.
how can i pass a "cript"as a parameter in to a function
In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field will reflects and so on.if total psngrs=100 then will we capture all the fields for the psngrs to Automate the app how we can handle this scenerio thru Descriptive programming?
how will you load the test cases in ddt?
What is Test Fusion Report in QTP?
How do you test DLL files using automation Tool QTP?
Explain runtime dynamic settings?
What the differences are and best practical application of Object Repository?
Have you faced any problems with object repository?