arlana_harris
12 years agoNew Contributor
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?
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?