gui automation using jemmy
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   baban_kakde
Posted On:   Friday, February 23, 2007 06:56 AM

I am trying to open popup menu when I select node 1 of tree
using jemmy.
But I am not getting popup open after right click mouse
automatically.
Please provide solution.
Bellow is a code used for automation.
private void showPopUpMenu()
{
JTreeOperator treeOperator = new JTreeOperator(mainFrame);
treeOperator.selectRow(1);
JTree tree = (JTree)treeOperator.getSource();
TreePath treePath = tree.getSelectionPath();
treeOperator.callPopupOnPath(treePath);
}

About | Sitemap | Contact