Share this page

GetItem Method (IMenu)
Returns the menu item with the specified path. Tip: To check whether the item exists, use the MenuItem.Exists property.

C# Syntax

    IMenuItem GetItem(
       string itemPath
    )

Parameters

itemPath
  The full path of the menu item to return. The path is composed of the menu item names or a numeric index separated by a semicolon. To specify the index of the item to select, use <Item #>. Index values begin with 1. Tip: Use the BuildMenuPath method to build the item path string to be used as the itemPath argument for this method.

Return Value

The menu item (IMenuItem) found at the specified item path

Tips to improve your search results... OpenText™ Functional Testing for Developers .NET SDK Version: 25.2 OpenText™ Functional Testing for Developers SDK 25.2 All View Local Help Center View Online Help Center Version: