Class SwingToggleButton
- java.lang.Object
-
- com.axway.ats.uiengine.elements.UiElement
-
- com.axway.ats.uiengine.elements.swing.SwingToggleButton
-
public class SwingToggleButton extends UiElement
A Swing Toggle ButtonCan be identified by:
- name
- text
- label
-
-
Field Summary
-
Fields inherited from class com.axway.ats.uiengine.elements.UiElement
log, properties
-
-
Constructor Summary
Constructors Constructor Description SwingToggleButton(UiDriver uiDriver, UiElementProperties properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclick()Click the buttonbooleanisSelected()Check if the toggle button is selected or not-
Methods inherited from class com.axway.ats.uiengine.elements.UiElement
checkTypeAndRules, getElementProperties, getElementProperty, getPropertyNamesToUseForMatch, getUiDriver, logAction, toString
-
-
-
-
Constructor Detail
-
SwingToggleButton
public SwingToggleButton(UiDriver uiDriver, UiElementProperties properties)
-
-
Method Detail
-
click
public void click()
Click the button- Throws:
VerificationException- if the element doesn't exist
-
isSelected
public boolean isSelected()
Check if the toggle button is selected or not- Returns:
- whether the toggle button is selected or not
- Throws:
VerificationException- if the element doesn't exist
-
-