public class SwingSpinner extends UiElement
Can be identified by:
log, properties| Constructor and Description |
|---|
SwingSpinner(UiDriver uiDriver,
UiElementProperties properties) |
| Modifier and Type | Method and Description |
|---|---|
void |
clickNext()
Click next/increment spinner button
|
void |
clickNext(int times)
Click next/increment spinner button
|
void |
clickPrevious()
Click previous/decrement spinner button
|
void |
clickPrevious(int times)
Click previous/decrement spinner button
|
void |
enterText(String text)
Enter text in the spinner text field without committing the value.
|
String |
getValue()
Get spinner text value
|
void |
setValue(String value)
Set spinner text value (entering and committing the given text in the JSpinner)
|
checkTypeAndRules, getElementProperties, getElementProperty, getPropertyNamesToUseForMatch, getUiDriver, logAction, toStringpublic SwingSpinner(UiDriver uiDriver, UiElementProperties properties)
public void setValue(String value)
VerificationException - if the element doesn't existpublic String getValue()
VerificationException - if the element doesn't existpublic void enterText(String text)
VerificationException - if the element doesn't existpublic void clickNext()
VerificationException - if the element doesn't existpublic void clickNext(int times)
times - number of times to click. Must be greater than 0VerificationException - if the element doesn't existpublic void clickPrevious()
VerificationException - if the element doesn't existpublic void clickPrevious(int times)
times - number of times to click. Must be greater than 0VerificationException - if the element doesn't existCopyright © 2017 Axway Software. All rights reserved.