Manually Creating Tests for Dynamic Popup Menus

You must enable xBrowser extensions and use the Open Agent to create scripts that use dynamic object recognition.

Although the xBrowser extension does not support recording, you can manually create scripts that test dynamic popup menus. When you manually create scripts use the Record Window Identifiers dialog box to identify the locator strings for dynamic object recognition. After you determine which event needs to be triggered in order to pop up the menu, trigger it either by using native user input, by moving the mouse over the element or clicking the element, or by triggering the event directly. For example, to trigger the event, type:
DomElement.ExecuteJavaScript("currentElement.onmouseover()"))