How to record right click of a context menu and click on the
selection ?
Answer Posted / amarendra kothuru
Hey Promod,
The way the question was asked and what you were providing
was wrong. The Answer you provided may or may not work on
all applications which generates Context menu. Your code may
work on Windows based objects and usage of "WinObject" test
object is not suggestible every time. Don;t think that QTP
always treat Context menu as WinListView or WinMenu.
But if you handle it with the code what i provided, there is
high probability to work with context menu. But your
application must be the active page at the time of
execution. Otherwise it wont perform correctly. There would
be drawbacks on each option.
Regards
Amarendra Kothuru
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
what is the difference between modular framework & datadriven framework
How to interact tool & application build in QTP?
What is the difference in testing a client-server application and a web application?
How to data driven test for Win objects in QTP ?
How to open a new test using quicktest professional?
For example you are checking bit map check point before coming to the results. How can you say it is passed? Or failed? Anyways?
Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet.
What is difference between Recording time object identification and Run time (Execution) time.
Why do you create a text checkpoint on a Web application? What is the purpose of the Close method?
your coming from electrical backgroung..but y ur coming to software side?
1.Qtp suppots Unix& linx or not 2why qtp suppots shell script.
What are the data types in qtp?
What is the use of an object spy tool in qtp?
how to acess a test in RSA?
how do u manipulating INI, DLL and / or registry files in support of your test environment? actually what do u mean by INI and DLL or registry files. plzzz its urgent do answer