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... UFT Developer .NET SDK Reference Version 15.0-15.0.2 UFT Developer SDK Reference All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: