ClickItem Action (Specific to XUL Menu Controls)

Applies to TestComplete 15.69, last modified on November 13, 2024

Description

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

Declaration

TestObj.ClickItem(Item)

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.

Parameters

The method has the following parameter:

Item

Specifies the caption of the desired menu item.

Result Value

None.

Remarks

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