public class ComboEditBox extends GenericObject
| Modifier | Constructor and Description |
|---|---|
protected |
ComboEditBox(java.lang.String compname) |
|
ComboEditBox(java.lang.String winname,
java.lang.String compname)
Constructor
Create an instance of pseudo-component representing
a specific component in a specific window.
|
|
ComboEditBox(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 |
|---|---|
ComponentFunction |
click()
Defaults to Generic CLICK where applicable.
|
void |
click(StepTestTable table)
Defaults to Generic CLICK where applicable.
|
void |
select(StepTestTable table,
java.lang.String textValue)
Select an item by its text value from a ComboEditBox.
|
ComponentFunction |
select(java.lang.String textValue)
Select an item by its text value from a ComboEditBox.
|
void |
selectIndex(StepTestTable table,
java.lang.String indexValue)
Select an item by its index from a ComboEditBox (ComboBox).
|
ComponentFunction |
selectIndex(java.lang.String indexValue)
Select an item by its index from a ComboEditBox (ComboBox).
|
void |
selectPartialMatch(StepTestTable table,
java.lang.String textValue)
Select an item via a partial text match.
|
ComponentFunction |
selectPartialMatch(java.lang.String textValue)
Select an item via a partial text match.
|
void |
setTextValue(StepTestTable table,
java.lang.String textValue)
Set the text of the ComboEditBox
This action sets the text of the ComboEditBox.
|
ComponentFunction |
setTextValue(java.lang.String textValue)
Set the text of the ComboEditBox
This action sets the text of the ComboEditBox.
|
void |
setUnverifiedTextValue(StepTestTable table,
java.lang.String textValue)
Set the text of the ComboEditBox without verification
This action sets the text of the ComboEditBox.
|
ComponentFunction |
setUnverifiedTextValue(java.lang.String textValue)
Set the text of the ComboEditBox without verification
This action sets the text of the ComboEditBox.
|
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, vScrollToassignPropertyVariable, 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, verifyValuesNotEqualgetWindow, setWindowgetName, getParent, getParentName, quotepublic ComboEditBox(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 ComboEditBox(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 ComboEditBox(java.lang.String compname)
public ComponentFunction click()
Defaults to Generic CLICK where applicable.
Attempts to perform a standard Click on the ComboEditBox. If the ComboEditBox
list is not exposed then this may expose the list of items. If the
list is already exposed, then this may close the list. It may also just provide
focus to the ComboEditBox.
It must be noted that when you expose the list in a ComboEditBox, it is no
longer a ComboEditBox. It typically converts to a ComboListBox. This may
not be an issue on controls that Robot can recognize with a NAME= method.
However, if the control is recognized by ObjectIndex or some other means
then the original ComboEditBox may no longer be found on the screen.
With this scenario, you need to reference the ComboEditBox and the ComboListBox
in the application map (and associated data files) as two separate items.
To avoid these potential problems, use the ComboEditBox 'SELECT' command
to actually open the list and select the item all with a single command.
Supporting Engines:
public void click(StepTestTable table)
Defaults to Generic CLICK where applicable.
Attempts to perform a standard Click on the ComboEditBox. If the ComboEditBox
list is not exposed then this may expose the list of items. If the
list is already exposed, then this may close the list. It may also just provide
focus to the ComboEditBox.
It must be noted that when you expose the list in a ComboEditBox, it is no
longer a ComboEditBox. It typically converts to a ComboListBox. This may
not be an issue on controls that Robot can recognize with a NAME= method.
However, if the control is recognized by ObjectIndex or some other means
then the original ComboEditBox may no longer be found on the screen.
With this scenario, you need to reference the ComboEditBox and the ComboListBox
in the application map (and associated data files) as two separate items.
To avoid these potential problems, use the ComboEditBox 'SELECT' command
to actually open the list and select the item all with a single command.
Supporting Engines:
table - Optional:NO
The table to add the record to.public ComponentFunction select(java.lang.String textValue)
Select an item by its text value from a ComboEditBox.
Select an item by its text value from a ComboEditBox.
This method combines the initial Click required to expose the list
of items and then the subsequent selection of a text item from the list.
The routine will first attempt to see if the item exists in the list
and should provide a warning if it cannot find the item or cannot
read the list of items. The routine will then attempt the selection.
After the selection is attempted, the routine tries to verify that the
list has the specified item as the selected item. A warning will be
issued if the routine cannot read the list. A failure will be issued
if the routine CAN read the list and determines that the specified
item is NOT the currently selected item.
Supporting Engines:
textValue - Optional:NO
The case-sensitive item in the drop down list to select.public void select(StepTestTable table, java.lang.String textValue)
Select an item by its text value from a ComboEditBox.
Select an item by its text value from a ComboEditBox.
This method combines the initial Click required to expose the list
of items and then the subsequent selection of a text item from the list.
The routine will first attempt to see if the item exists in the list
and should provide a warning if it cannot find the item or cannot
read the list of items. The routine will then attempt the selection.
After the selection is attempted, the routine tries to verify that the
list has the specified item as the selected item. A warning will be
issued if the routine cannot read the list. A failure will be issued
if the routine CAN read the list and determines that the specified
item is NOT the currently selected item.
Supporting Engines:
table - Optional:NO
The table to add the record to.textValue - Optional:NO
The case-sensitive item in the drop down list to select.public ComponentFunction selectIndex(java.lang.String indexValue)
Select an item by its index from a ComboEditBox (ComboBox).
Select an item by its index from a ComboEditBox (ComboBox).
This method combines the initial Click required to expose the list
of items and then the subsequent selection of the item from the list.
The routine will first attempt to see if the index exists in the list
and should provide a warning if it cannot find the item or cannot
read the list of items. The routine will then attempt the selection.
Supporting Engines:
indexValue - Optional:NO
The item index in the drop down list to select.public void selectIndex(StepTestTable table, java.lang.String indexValue)
Select an item by its index from a ComboEditBox (ComboBox).
Select an item by its index from a ComboEditBox (ComboBox).
This method combines the initial Click required to expose the list
of items and then the subsequent selection of the item from the list.
The routine will first attempt to see if the index exists in the list
and should provide a warning if it cannot find the item or cannot
read the list of items. The routine will then attempt the selection.
Supporting Engines:
table - Optional:NO
The table to add the record to.indexValue - Optional:NO
The item index in the drop down list to select.public ComponentFunction selectPartialMatch(java.lang.String textValue)
Select an item via a partial text match.
Select an item via a partial text match.
This method combines the initial Click required to expose the list
of items and then the subsequent selection of a text item from the list.
The routine will first attempt to see if the item exists in the list
and should provide a warning if it cannot find the item or cannot
read the list of items. The routine will then attempt the selection.
After the selection is attempted, the routine tries to verify that the
list has the specified item as the selected item. A warning will be
issued if the routine cannot read the list. A failure will be issued
if the routine CAN read the list and determines that the specified
item is NOT the currently selected item.
Supporting Engines:
textValue - Optional:NO
The case-sensitive substring of an item in the drop down list to select.public void selectPartialMatch(StepTestTable table, java.lang.String textValue)
Select an item via a partial text match.
Select an item via a partial text match.
This method combines the initial Click required to expose the list
of items and then the subsequent selection of a text item from the list.
The routine will first attempt to see if the item exists in the list
and should provide a warning if it cannot find the item or cannot
read the list of items. The routine will then attempt the selection.
After the selection is attempted, the routine tries to verify that the
list has the specified item as the selected item. A warning will be
issued if the routine cannot read the list. A failure will be issued
if the routine CAN read the list and determines that the specified
item is NOT the currently selected item.
Supporting Engines:
table - Optional:NO
The table to add the record to.textValue - Optional:NO
The case-sensitive substring of an item in the drop down list to select.public ComponentFunction setTextValue(java.lang.String textValue)
Set the text of the ComboEditBox
This action sets the text of the ComboEditBox. This version allows the use
of special character combinations and substrings to identify specific
keyboard keys. These are the same special characters and interpretation
used for Robot's InputKeys command and the Windows Scripting Host.
~^+%{( are primarily the characters that induce special processing.
The routine verifies we can read the text property, sets the text value
and will verify that the property has been set to that value *IF* none
of the special characters exist in the provided text value. If those
special characters exist, then no post-set verification will occur.
Supporting Engines:
textValue - Optional:YES DefaultVal:
The text that will be typed into the ComboEditBox.public void setTextValue(StepTestTable table, java.lang.String textValue)
Set the text of the ComboEditBox
This action sets the text of the ComboEditBox. This version allows the use
of special character combinations and substrings to identify specific
keyboard keys. These are the same special characters and interpretation
used for Robot's InputKeys command and the Windows Scripting Host.
~^+%{( are primarily the characters that induce special processing.
The routine verifies we can read the text property, sets the text value
and will verify that the property has been set to that value *IF* none
of the special characters exist in the provided text value. If those
special characters exist, then no post-set verification will occur.
Supporting Engines:
table - Optional:NO
The table to add the record to.textValue - Optional:YES DefaultVal:
The text that will be typed into the ComboEditBox.public ComponentFunction setUnverifiedTextValue(java.lang.String textValue)
Set the text of the ComboEditBox without verification
This action sets the text of the ComboEditBox. This version allows the use
of special character combinations and substrings to identify specific
keyboard keys. These are the same special characters and interpretation
used for Robot's InputKeys command and the Windows Scripting Host.
~^+%{( are primarily the characters that induce special processing.
The routine verifies we can read the text property, sets the text value
but does not verify that the property has been set to that value and does not verify whether
or not any of the special characters exist in the provided text value.
Supporting Engines:
textValue - Optional:YES DefaultVal:
The text that will be typed into the ComboEditBox.public void setUnverifiedTextValue(StepTestTable table, java.lang.String textValue)
Set the text of the ComboEditBox without verification
This action sets the text of the ComboEditBox. This version allows the use
of special character combinations and substrings to identify specific
keyboard keys. These are the same special characters and interpretation
used for Robot's InputKeys command and the Windows Scripting Host.
~^+%{( are primarily the characters that induce special processing.
The routine verifies we can read the text property, sets the text value
but does not verify that the property has been set to that value and does not verify whether
or not any of the special characters exist in the provided text value.
Supporting Engines:
table - Optional:NO
The table to add the record to.textValue - Optional:YES DefaultVal:
The text that will be typed into the ComboEditBox.Copyright © SAS Institute. All Rights Reserved.