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.
GetSubCount
Syntax
int GetSubCount(string itemPath)
Description
Retrieve the submenu count for a specified menu item.
Parameters
itemPath
String specifying the path to the menu item. (Use arrow symbols ( -> ) as delimiters between menu items.)
Return Value
Integer specifying the number of submenu items. A negative value indicatesfailure.