Class SwingButton
- java.lang.Object
-
- com.axway.ats.uiengine.elements.UiElement
-
- com.axway.ats.uiengine.elements.UiButton
-
- com.axway.ats.uiengine.elements.swing.SwingButton
-
public class SwingButton extends UiButton
A Swing 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 SwingButton(UiDriver uiDriver, UiElementProperties properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclick()Click buttonbooleanisEnabled()Check whether the button is Enabled or Disabled-
Methods inherited from class com.axway.ats.uiengine.elements.UiElement
checkTypeAndRules, getElementProperties, getElementProperty, getPropertyNamesToUseForMatch, getUiDriver, logAction, toString
-
-
-
-
Constructor Detail
-
SwingButton
public SwingButton(UiDriver uiDriver, UiElementProperties properties)
-
-
Method Detail
-
click
public void click()
Click button- Specified by:
clickin classUiButton- Throws:
VerificationException- if the element doesn't exist
-
isEnabled
public boolean isEnabled()
Check whether the button is Enabled or Disabled- Returns:
trueif the button is enabled
-
-