Hi,

I have Admin window it has Actions menu under that i have 3 sub menus. I want to select one menu. When i try to select it fails always. Application is Java Applet. I have java Addin. Does any one know why this fails.

set_window("Admin", 1);
menu_select_item("Actions");wait(3);
menu_get_item("{class: menu_item,label: \"Actions\"}",2,menuitem);
wait(2);

if (menuitem == "Save Only")
{
rc = menu_select_item("{class: menu_item,label: \"Save Only\",parent: Actions}");
if(rc == E_OK)
{
printf("click on save");
}
else
{
printf("Fail");
}
}


Actions
{
class: menu_item,
label: Actions,
TOOLKIT_class: "javax.swing.JMenu"
}
Save Only
{
class: menu_item,
label: "Save Only",
TOOLKIT_class: "com.web.Applet$Save",
parent: Actions
}

thanks


------------------