I need your help in the below topic using QTP Automation
tool.
How to automate the right click of mouse on a context menu?
1)Tried low level recording which is working fine but
making use of co-ordinates.
2) Also tried changing the mouse settings and properties
using
Tools ->WebEvent RecordingConfiguration and created a
configuration file
with required mouse click events and used which did
not work.
Answer / tvsramakrishnachowdary
Hello friend mouse rtclick operations can be solved by the
following code
------------------------------------------------------------
suppose notepad ur having in that some text ur having u
want to select all the text by using mouse rtclick-
>selectall->again mouse rtclick->again select delete...ok...
set wsh=createobject(wscript.shell)
window(notepad).wineditor(edit).click 0,1,micRightbtn
for i=1 to 6
wsh.sendkeys{DOWN}
wait(1)
Next
wsh.sendkeys{ENTER}->this stmt for slecting "select all"
for i=1 to 5
wsh.sendkeys{DOWN}
wait(1)
Next
wsh.sendkeys{ENTER}->this stmt for selecting "delete"
set wsh=nothing
Is This Answer Correct ? | 1 Yes | 0 No |
Suppose u write test case in Excel sheet . how u open that test case in Test Director?
what is aregular expression?
How do you use the parameters.input parameters and out put parameters.
how to call multiple scripts in QTP at a time
i want to handle all the unwanted pop up through QTP i done that with recovery scenario but it need some title of pop up but i want that it should handle all the pop up even i don't give the title of that pop up in recovery scenario is there any general way to handle all the pop up please help
can i compare two databases using QTP ?
how can i count the number of links???
What is Terminal Emulators”? Why we used in QTP.? How he works on QTP.
I am automating a Java application. This application is developed using SWT. I am not able to get the GUI object. Even i tried with Java add-in. In tutorial it states SWT is not supported any idea. Anybody worked in such appln. My question is whether it is possible to record the GUI object of SWT appln. how it is possible.
Whenever i'm running 3 diffrent scripts in a Test Batch Runner as a batch. its not showing any result. QTP only runs all the scripts n nothing else. B4 running the test batch i have done all the settings, But still its not working.
How many ways is to parameterize the value?
what is the extension of new local object repository?