For situations where menus only appear when mousing over you need to perform a manual mouse move for every event that requires it: BrowserMouseMove("//SPAN[@textContents='Top Menu']"); BrowserClick("//TD[@textContents='More Actions']", BUTTON_Left); BrowserMouseMove("//SPAN[@textContents='Submenu']"); BrowserClick("//SPAN[@textContents='Standard...']", BUTTON_Left); Until the menu expands with mouse move the locator strings for the items cannot be found. SP10 introducues a new troubleshooting feature to make this problem easier to fix in future: Using BrowserMouseMove to handle expanding menus
↧