Class SwingCheckBox
- java.lang.Object
-
- com.axway.ats.uiengine.elements.UiElement
-
- com.axway.ats.uiengine.elements.UiCheckBox
-
- com.axway.ats.uiengine.elements.swing.SwingCheckBox
-
public class SwingCheckBox extends UiCheckBox
A Swing Check BoxCan 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 SwingCheckBox(UiDriver uiDriver, UiElementProperties properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheck()Check the CheckBoxbooleanisChecked()Tells whether the check box is checkedvoidunCheck()Uncheck the CheckBoxvoidverifyChecked()Verify the check box is checkedvoidverifyNotChecked()Verify the check box is not checked-
Methods inherited from class com.axway.ats.uiengine.elements.UiElement
checkTypeAndRules, getElementProperties, getElementProperty, getPropertyNamesToUseForMatch, getUiDriver, logAction, toString
-
-
-
-
Constructor Detail
-
SwingCheckBox
public SwingCheckBox(UiDriver uiDriver, UiElementProperties properties)
-
-
Method Detail
-
check
public void check()
Check the CheckBox- Specified by:
checkin classUiCheckBox- Throws:
VerificationException- if the element doesn't exist
-
isChecked
public boolean isChecked()
Description copied from class:UiCheckBoxTells whether the check box is checked- Specified by:
isCheckedin classUiCheckBox- Returns:
- if the ChechBox is checked or not
- Throws:
VerificationException- if the element doesn't exist
-
unCheck
public void unCheck()
Uncheck the CheckBox- Specified by:
unCheckin classUiCheckBox- Throws:
VerificationException- if the element doesn't exist
-
verifyChecked
public void verifyChecked()
Verify the check box is checked- Specified by:
verifyCheckedin classUiCheckBox- Throws:
VerificationException- - if the verification fails or the element does not exist
-
verifyNotChecked
public void verifyNotChecked()
Verify the check box is not checked- Specified by:
verifyNotCheckedin classUiCheckBox- Throws:
VerificationException- - if the verification fails or the element does not exist
-
-