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