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 |
QTP 9.2, Issue: Creating Shared Object repository. I recorded 2 scripts. I exported the Object Repository to a shared location for the first script. Associated the exported repository to the first script and deleted the Local Repository for the First Script. Now Opened the Second script and try to Add the Local Object Repository of 2nd Script to Exported Object Repository. But I fail. Can anyone please help in providing steps that need to be followed in creating a shared object repository? Thanks in Advance.
explain virtual object? in detailed? pls any one explain me?
What are the technics follow in writing VB script?
Hi all , I have installed the QTP 11.0 Whenever I am opening QTP that time if any open Internet Explorer I was getting message (Internet Explorer has encountered a problem and needs to close. we are sorry for inconvenience caused) and same way new browser also not opening. If you have any idea please let me know.
I want to grow as a Automation Engineer,Kindly help me in clearing my interview that what interviewer looks for as a Automation Engineer. I am having three years of experience in testing.
write progamming connecting QTP to database sql? this is question asked by interview? please give sql, pl/sql related answer?pls any answer this?
How to recognise the webelement and verifying that webelement is enabled?
What is iteration?
can u explain about QTP Frameworks? what are the framework types are available? and How to set or create frame work for a application? Explain briefly?(Also give me one example)
Give me exact application where we should use low level recording?
1. What is diffrence between Analog Recording And Lomlevel Recording ?
In QTP , Test Director combination . what is the role of Test Director? How QTP Launching QTP in T.D ? If it is Winrunner possible. but QTP How it is possible?