This project is read-only.

Menu searching failing randomly

Jan 11, 2010 at 9:17 PM

Is there by chance a known issue with accessing menus using the "Find" functionality that receives the menu path?

I'm seeing random failures to locate the menus. With ZERO changes to the environment, re-running the tests will make them randomly pass or fail :S.

Core.Factory.UIItemSearchException: Could not find Menu Name=Project...

The calling code simply does:

menuBar.MenuItem("File", "New", "Project...");


Thanks in advance!




Jan 12, 2010 at 4:14 PM

Seems to be a timing issue sometimes. Adding a retry behavior (using the bricks Clock class) fixes most of the failures.