public class ComboListBox extends GenericObject
Modifier | Constructor and Description |
---|---|
protected |
ComboListBox(java.lang.String compname) |
|
ComboListBox(java.lang.String winname,
java.lang.String compname)
Constructor
Create an instance of pseudo-component representing
a specific component in a specific window.
|
|
ComboListBox(Window window,
java.lang.String compname)
Constructor
Create an instance of pseudo-component representing
a specific component in a specific window.
|
Modifier and Type | Method and Description |
---|---|
void |
select(StepTestTable table,
java.lang.String textValue)
Select an item by its text value from an exposed combobox dropdown list.
|
ComponentFunction |
select(java.lang.String textValue)
Select an item by its text value from an exposed combobox dropdown list.
|
void |
selectIndex(StepTestTable table,
java.lang.String indexValue)
Select an item by its index from a combolistbox.
|
ComponentFunction |
selectIndex(java.lang.String indexValue)
Select an item by its index from a combolistbox.
|
altLeftDrag, altLeftDrag, click, click, click, click, clickScreenImage, clickScreenImage, clickScreenLocation, clickScreenLocation, clickScreenPoint, clickScreenPoint, compareStoredData, compareStoredData, compareStoredData, compareStoredData, compareStoredProperties, compareStoredProperties, compareStoredProperties, compareStoredProperties, ctrlAltLeftDrag, ctrlAltLeftDrag, ctrlClick, ctrlClick, ctrlClick, ctrlClick, ctrlClickScreenImage, ctrlClickScreenImage, ctrlLeftDrag, ctrlLeftDrag, ctrlRightClick, ctrlRightClick, ctrlRightClick, ctrlRightClick, ctrlRightClickScreenImage, ctrlRightClickScreenImage, ctrlShiftLeftDrag, ctrlShiftLeftDrag, doubleClick, doubleClick, doubleClick, doubleClick, doubleClickScreenImage, doubleClickScreenImage, doubleClickScreenLocation, doubleClickScreenLocation, doubleClickScreenPoint, doubleClickScreenPoint, doubleTap, doubleTap, dragTo, dragTo, dragTo, dragTo, flick, flick, flick, flick, flickDown, flickDown, flickLeft, flickLeft, flickRight, flickRight, flickUp, flickUp, hScrollTo, hScrollTo, javaMenuSelect, javaMenuSelect, leftDrag, leftDrag, mouseClick, mouseClick, multiClick, multiClick, multiClick, multiClick, multiClickScreenImage, multiClickScreenImage, multiClickScreenImage, multiClickScreenImage, press, press, rightClick, rightClick, rightClick, rightClick, rightClickScreenImage, rightClickScreenImage, rightClickScreenLocation, rightClickScreenLocation, rightClickScreenPoint, rightClickScreenPoint, rightDrag, rightDrag, shiftClick, shiftClick, shiftClick, shiftClick, shiftClickScreenImage, shiftClickScreenImage, shiftLeftDrag, shiftLeftDrag, tap, tap, twoFingerTap, twoFingerTap, verifyImage, verifyImage, vScrollTo, vScrollTo
assignPropertyVariable, assignPropertyVariable, assignPropertyVariable, assignPropertyVariable, captureObjectDataToFile, captureObjectDataToFile, captureObjectDataToFile, captureObjectDataToFile, capturePropertiesToFile, capturePropertiesToFile, capturePropertiesToFile, capturePropertiesToFile, capturePropertyToFile, capturePropertyToFile, capturePropertyToFile, capturePropertyToFile, clearAppMapCache, clearAppMapCache, clearCache, clearCache, executeScript, executeScript, executeScript, executeScript, getComputedStyle, getComputedStyle, getGUIImage, getGUIImage, getGUIImage, getGUIImage, getTextFromGUI, getTextFromGUI, getTextFromGUI, getTextFromGUI, gUIDoesExist, gUIDoesExist, gUIDoesNotExist, gUIDoesNotExist, hoverMouse, hoverMouse, hoverMouse, hoverMouse, hoverScreenLocation, hoverScreenLocation, hoverScreenLocation, hoverScreenLocation, inputCharacters, inputCharacters, inputKeys, inputKeys, isPropertyExist, isPropertyExist, isPropertyExist, isPropertyExist, locateScreenImage, locateScreenImage, locateScreenImage, locateScreenImage, saveTextFromGUI, saveTextFromGUI, saveTextFromGUI, saveTextFromGUI, sendEvent, sendEvent, sendEvent, sendEvent, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, showOnPage, showOnPage, typeChars, typeChars, typeEncryption, typeEncryption, typeEncryption, typeEncryption, typeKeys, typeKeys, verifyArrayPropertyToFile, verifyArrayPropertyToFile, verifyArrayPropertyToFile, verifyArrayPropertyToFile, verifyBinaryFileToFile, verifyBinaryFileToFile, verifyBinaryFileToFile, verifyBinaryFileToFile, verifyClipboardToFile, verifyClipboardToFile, verifyClipboardToFile, verifyClipboardToFile, verifyClipboardVP, verifyClipboardVP, verifyComputedStyle, verifyComputedStyle, verifyFileToFile, verifyFileToFile, verifyFileToFile, verifyFileToFile, verifyGUIImageToFile, verifyGUIImageToFile, verifyGUIImageToFile, verifyGUIImageToFile, verifyObjectDataToFile, verifyObjectDataToFile, verifyObjectDataToFile, verifyObjectDataToFile, verifyPropertiesSubsetToFile, verifyPropertiesSubsetToFile, verifyPropertiesSubsetToFile, verifyPropertiesSubsetToFile, verifyPropertiesToFile, verifyPropertiesToFile, verifyPropertiesToFile, verifyPropertiesToFile, verifyProperty, verifyProperty, verifyProperty, verifyProperty, verifyPropertyContains, verifyPropertyContains, verifyPropertyContains, verifyPropertyContains, verifyPropertyToFile, verifyPropertyToFile, verifyPropertyToFile, verifyPropertyToFile, verifyTabOrder, verifyTabOrder, verifyTextFileToFile, verifyTextFileToFile, verifyTextFileToFile, verifyTextFileToFile, verifyValueContains, verifyValueContains, verifyValueContains, verifyValueContains, verifyValueContainsIgnoreCase, verifyValueContainsIgnoreCase, verifyValueContainsIgnoreCase, verifyValueContainsIgnoreCase, verifyValueDoesNotContain, verifyValueDoesNotContain, verifyValueDoesNotContain, verifyValueDoesNotContain, verifyValues, verifyValues, verifyValues, verifyValues, verifyValuesIgnoreCase, verifyValuesIgnoreCase, verifyValuesIgnoreCase, verifyValuesIgnoreCase, verifyValuesNotEqual, verifyValuesNotEqual, verifyValuesNotEqual, verifyValuesNotEqual
getWindow, setWindow
getName, getParent, getParentName, quote
public ComboListBox(Window window, java.lang.String compname)
window
- Optional:NO
Specifies which Window this component is 'in'.compname
- Optional:NO
Specifies the AppMap name of the component in the Window.public ComboListBox(java.lang.String winname, java.lang.String compname)
winname
- Optional:NO
Specifies the AppMap name of the window.compname
- Optional:NO
Specifies the AppMap name of the component in the Window.protected ComboListBox(java.lang.String compname)
public ComponentFunction select(java.lang.String textValue)
Select an item by its text value from an exposed combobox dropdown list. Select an item by its text value from an exposed combobox dropdown list. This method requires that the list already be exposed via a ComboBox Click command. To combine both the Click and the Selection in a single command use the ComboBox Select command. We first test to make sure the item to select is actually in the list. If it is not, we report the failure and issue an ESCAPE character to close the list.Supporting Engines:
textValue
- Optional:NO
The case-sensitive text item to selectpublic void select(StepTestTable table, java.lang.String textValue)
Select an item by its text value from an exposed combobox dropdown list. Select an item by its text value from an exposed combobox dropdown list. This method requires that the list already be exposed via a ComboBox Click command. To combine both the Click and the Selection in a single command use the ComboBox Select command. We first test to make sure the item to select is actually in the list. If it is not, we report the failure and issue an ESCAPE character to close the list.Supporting Engines:
table
- Optional:NO
The table to add the record to.textValue
- Optional:NO
The case-sensitive text item to selectpublic ComponentFunction selectIndex(java.lang.String indexValue)
Select an item by its index from a combolistbox. Select an item by its index from a combolistbox. The list must already be exposed via a preceeding ComboBox Click. The routine will attempt to see if the index exists in the list. It will fail if it cannot validate the index or cannot read the array of items.Supporting Engines:
indexValue
- Optional:NO
The item index in the exposed list to select.public void selectIndex(StepTestTable table, java.lang.String indexValue)
Select an item by its index from a combolistbox. Select an item by its index from a combolistbox. The list must already be exposed via a preceeding ComboBox Click. The routine will attempt to see if the index exists in the list. It will fail if it cannot validate the index or cannot read the array of items.Supporting Engines:
table
- Optional:NO
The table to add the record to.indexValue
- Optional:NO
The item index in the exposed list to select.Copyright © SAS Institute. All Rights Reserved.