Automation Guide
Action-based testing language
TestArchitect Automation Classes
Automation classes
AbtTab ![](data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABmJLR0QA/wD/AP+gvaeTAAAAXklEQVRIiWNgGAWjAAoYoZhmhk9kYGCYQStLHBgYGP4xMDD8h1pEE0vSkSyhmU9GqCVMtHABJYCmQTR0DXdgoCCjMROh5iEDA4MgAwPDRQYGhlyoRVQHNC3sRsEQBwD2mR7t73r7NQAAAABJRU5ErkJggg==)
The requested page is not available for selected version.
GetItemIndex
Syntax
int GetItemIndex(string text)
Description
Retrieve the numeric index of a tab by its text content.
Parameters
text
String value specifying the text content of the tab to find.
Return Value
Integer index of the item if found; otherwise -1.