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
can anyone tell me from where i can download qtp demo or crack version
I want to test my vb.net solution file using qtp. Does Qtp test only .exe file?
what is the mail use of frame work(with detail). architecture for keyword driven frame work
How you can decide which type of object repository you have to use?
What is contained in the object repository?
What are the data types in qtp?
Explain the Different types of QTP test assets and their extensions?
How to define array in qtp?
In qtp, how you can remove the spaces from string?
What is a data driven test in qtp?
Write a script to customize the test results in PDF and HTML format.
How is recording done when a application is over lapping the QTP application it gives a message object not recorded
In Remote acess server how u run a test?
What is a reusable action?
what is the difference between built-i function and In-built function?