public class SwingMultiSelectList extends UiMultiSelectList
Can be identified by:
log, properties| Constructor and Description |
|---|
SwingMultiSelectList(UiDriver uiDriver,
UiElementProperties properties) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearSelections()
Clears the selection
|
String[] |
getAvailableValues()
Get MultiSelectList available values
|
String[] |
getValues()
Get MultiSelectList value
|
void |
rightClick(String... contextMenuItems) |
void |
setValue(String value)
Set MultiSelectList value
|
void |
unsetValue(String value)
Unset MultiSelectList value
|
void |
verifyNotValue(String notExpectedValue)
Verify the specified value is NOT selected
|
void |
verifyValue(String expectedValue)
Verify the specified value is selected
|
checkTypeAndRules, getElementProperties, getElementProperty, getPropertyNamesToUseForMatch, getUiDriver, logAction, toStringpublic SwingMultiSelectList(UiDriver uiDriver, UiElementProperties properties)
public String[] getValues()
getValues in class UiMultiSelectListVerificationException - if the element doesn't existpublic void setValue(String value)
setValue in class UiMultiSelectListvalue - the value to setVerificationException - if the element doesn't existpublic void unsetValue(String value)
unsetValue in class UiMultiSelectListvalue - - the value to unselectVerificationException - if the element doesn't existpublic String[] getAvailableValues()
String array with all the available valuesVerificationException - if the element doesn't existpublic void clearSelections()
VerificationException - if the element doesn't existpublic void rightClick(String... contextMenuItems)
contextMenuItems - context menu items to selectpublic void verifyValue(String expectedValue)
verifyValue in class UiMultiSelectListexpectedValue - VerificationException - if the element doesn't existVerifyEqualityException - if the verification failspublic void verifyNotValue(String notExpectedValue)
verifyNotValue in class UiMultiSelectListnotExpectedValue - VerificationException - if the element doesn't existVerifyNotEqualityException - if the verification failsCopyright © 2017 Axway Software. All rights reserved.