Automation Guide
Action-based testing language
TestArchitect Automation Classes
Automation classes
AbtMenuBar ![](data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABmJLR0QA/wD/AP+gvaeTAAAAXklEQVRIiWNgGAWjAAoYoZhmhk9kYGCYQStLHBgYGP4xMDD8h1pEE0vSkSyhmU9GqCVMtHABJYCmQTR0DXdgoCCjMROh5iEDA4MgAwPDRQYGhlyoRVQHNC3sRsEQBwD2mR7t73r7NQAAAABJRU5ErkJggg==)
The requested page is not available for selected version.
GetItemStates
Syntax
TAItemState GetItemStates(string itemPath)
Description
Retrieve the current state(s) of a menu item in the menu bar.
Parameters
itemPath
String specifying the path to the menu item. (Use arrow symbols ( -> ) as delimiters between menu items.)
Return Value
TAItemState object specifying a comma-delimited list of all of the current states of the item. Possible listed values are:
- ENABLED or DISABLED
- SELECTED or UNSELECTED