public class SwingComboBox extends UiComboBox
Can be identified by:
log, properties| Constructor and Description |
|---|
SwingComboBox(UiDriver uiDriver,
UiElementProperties properties) |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getAvailableValues()
Get ComboBox available values
|
String |
getValue()
Get ComboBox value
|
void |
setValue(String value)
Set ComboBox value
|
void |
verifyNotValue(String notExpectedValue)
Verify the selected value is NOT as specified
|
void |
verifyValue(String expectedValue)
Verify the selected value is as specified
|
checkTypeAndRules, getElementProperties, getElementProperty, getPropertyNamesToUseForMatch, getUiDriver, logAction, toStringpublic SwingComboBox(UiDriver uiDriver, UiElementProperties properties)
public String getValue()
getValue in class UiComboBoxVerificationException - if the element doesn't existpublic void setValue(String value)
setValue in class UiComboBoxvalue - the ComboBox value to setVerificationException - if the element doesn't existpublic String[] getAvailableValues()
String array with all the available valuesVerificationException - if the element doesn't existpublic void verifyValue(String expectedValue)
verifyValue in class UiComboBoxexpectedValue - VerificationException - if the element doesn't existVerifyEqualityException - if the verification failspublic void verifyNotValue(String notExpectedValue)
verifyNotValue in class UiComboBoxnotExpectedValue - VerificationException - if the element doesn't existVerifyNotEqualityException - if the verification failsCopyright © 2017 Axway Software. All rights reserved.