UICtrlsMainMenu.Click failing occassionally
Hey everyone,
I've noticed that every once in a while I when I try to call:
Aliases.<Product>.<Window>.UICtrlsMainMenu.Click("[3|1]");
I get a message bubble that reads:
"waiting until the popup for the menu <menu> item to become visible"
This happens about three times, then ultimately fails. I've tried:
Aliases.<Product>.<Window>.UICtrlsMainMenu.Click("[3]"); => works
Aliases.<Product>.<Window>.UICtrlsMainMenu.Click("[3|1]"); => fails sometimes
Aliases.<Product>.<Window>.UICtrlsMainMenu.Click("parentMenu|[1]"); => fails sometimes
Aliases.<Product>.<Window>.UICtrlsMainMenu.Click("[3]|childMenu"); => fails sometimes
Aliases.<Product>.<Window>.UICtrlsMainMenu.Click("[3]|1|0]"); => fails pretty frequently
Sys.Process(<process>).Refresh() => doesn't seem to help
Here are some fun facts:
- The application is always up and running
- The app is in a state where menu [3|1|0] is valid
- TestComplete has no difficulty reaching top-level items
- There are no competing processes
- There are no overlapping windows
- I really want/need to stick with the "[3|1]"-type notation, due to localization
Does anyone have any experience with this, who might be able to point me in the right direction? As always, any help would be greatly appreciated.
-Howie