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 |
Why a framework is needed?? Plaese post your answers ASAP
How to use transactions in qtp?
How will you check that your test cases covered all the requirements?
how can i sent QTP results to the Html, notefile ,xl file give me the code using g mail login page
I am using descriptive programming for my project.when QTP deosn't identity or recognize a object by record and playback method,is it possible to make QTP identify that object using descriptive programming? Note: The object doesn't have unique properties and same properties used in Record and playback are only available, no extra properties are defined.
Hi all, I am using windows vista, I am in the process of learning QTP. When ever I try to work with insert mode in flight application , i am getting the error of 'Operation must use an update table query, fractional truncation(null) error. Can anyone help me regarding this?
How you can replace string in qtp?
why use Description programming? what is advantages and disadvantage of this methods?
Is it possible to run QTP scripts created in IE 6.0 in IE 7.0?
what is the Exact Meaning of Environment Variables?
Your roles and responsibilities and daily tasks? (As automation tester)
Dis advantages of XML checkpoint ?