How to right click on a JavaTree node and select an option
I have a java tree, i want to..
- Select a particular node (using a parametrized function) - Working fine
- Right click on the selected node, and click on a particular menu option - NOT WORKING
oTree.Func_Select (node) '- working
oTree.Click 89,148,"RIGHT" 'How to create function for this?
I need a function which i will call after Func_Select() , and i need to right click on selected node and select an option from menu...
any idea plz??
my idea is - how to get x,y coordinates of the current location of mouse (irrespective of any object/application)
found in QTP help..
JavaWindow("Eclipse").JavaTree("Tree").OpenContext Menu "Project111;src;org.demo;Main.java"
JavaWindow("Eclipse").WinMenu("ContextMenu").Selec t "Delete"