public class SwingSingleSelectList extends UiSingleSelectList
Can be identified by:
log, properties| Constructor and Description |
|---|
SwingSingleSelectList(UiDriver uiDriver,
UiElementProperties properties) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearSelection()
Clears the selection
|
String[] |
getAvailableValues()
Get SingleSelectList available values
|
String |
getValue()
Get SingleSelectList value
|
void |
setValue(String value)
Set SingleSelectList 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 SwingSingleSelectList(UiDriver uiDriver, UiElementProperties properties)
public String getValue()
getValue in class UiSingleSelectListVerificationException - if the element doesn't existpublic void setValue(String value)
setValue in class UiSingleSelectListvalue - the 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 clearSelection()
VerificationException - if the element doesn't existpublic void verifyValue(String expectedValue)
verifyValue in class UiSingleSelectListexpectedValue - VerificationException - if the element doesn't existVerifyEqualityException - if the verification failspublic void verifyNotValue(String notExpectedValue)
verifyNotValue in class UiSingleSelectListnotExpectedValue - VerificationException - if the element doesn't existVerifyNotEqualityException - if the verification failsCopyright © 2017 Axway Software. All rights reserved.