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


Please Help Members By Posting Answers For Below Questions

QTP 10.0 is not identifying web objects for IE 8.it is identifying like winObject.I installed HP patch QTPWEB_00037.Still getting issue

5499


Explain different types of action in qtp?

567


Difference between action & Reusable action?

677


after initiating one project for testing, when exacltly QTP tester role starts?

1393


Please provide specific examples of advanced/creative usage of QTP, including how impact & benefits for your project

1631






What is throw object?

1736


What is the qtp testing process?

585


How to run an integrated test scenario using Multiple Actions? How to use the QTP Step Generator?

3434


hi i have completed my b.tech in cse stream. now i am working in an organisation in testing department. i want do sap course but i dnt know which module will boost my career can anyone suggest me which is good for my career

1913


How qtp identifies objects?

559


we use a file extension .properties why is it used and where do we use it plz help me out with detailed explanation and navigation of how to use on the QTP 8.2?

1626


What is test object model in quicktest professional?

615


Can an action have 2 shared object repositories associated with them? In that case, if two of them contain the same object, which one will be considered?

581


What is the architecture of your project? Can any one answer for this question plz........

1406


how will you load the test cases in ddt?

1592