Click Menu Item

Last modified: June 18, 2025

Description

Clicks a Menu Item in a Navigation Tree, Menu Bar and Simple Menu Bar.

Supported Widgets

  • NavigationTree
  • MenuBar
  • SimpleMenuBar

Usage

Pass the name of the parent widget and the caption of the menu item you want to click. Optionally you can provide a WebElement as search context, to narrow down the search for the widget, if there are two or more widgets with the same name.

Input Parameters

NameDatatypeRequiredDescription
Widget NameStringyesThe name of the parent widget
CaptionStringyesThe caption of the menu item
Search ContextWebElementnoLimit the search for the DataGrid row to the given WebElement