ClickItem Action (Specific to XUL Menu Controls)

Applies to TestComplete 15.64, last modified on June 12, 2024


The ClickItem action moves the mouse pointer to the XUL Menu control item specified by its caption and simulates a single click on it.



TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section
Item [in]    Required    String    
Result None

Applies To

The method is applied to the following object:

View Mode

This method is available in the Object Browser panel and in other panels and dialogs in both Basic and Advanced view modes.


The method has the following parameter:


Specifies the caption of the desired menu item.

Result Value



If the item is not found, ClickItem fails and posts an error message to the test log.

See Also

XUL Menu Support

Highlight search results