Forum Discussion

arlana_harris's avatar
arlana_harris
New Contributor
13 years ago

Sub-menu object not found

Here is the JScript:



  main.buttonIconbutton3.ClickButton();

  selfSizingTree = main.selfsizingtreeTree;

  selfSizingTree.ClickItem(1);

  selfSizingTree.ClickItem(2);  << this is where it is failing. 



Error: "The listbox item 2 not found."



"ClickItem(1)" displays a sub-menu.  The test tool is unable to select the first item in the sub-menu.



Any suggestions on how to get the tool to recognize a sub-menu?