use of com.axway.ats.uiengine.utilities.swing.SwingElementState in project ats-framework by Axway.
the class SwingCheckBox method unCheck.
/**
* Uncheck the CheckBox
* @throws VerificationException if the element doesn't exist
*/
@Override
@PublicAtsApi
public void unCheck() {
new SwingElementState(this).waitToBecomeExisting();
((JCheckBoxFixture) SwingElementLocator.findFixture(this)).uncheck();
}
use of com.axway.ats.uiengine.utilities.swing.SwingElementState in project ats-framework by Axway.
the class SwingCheckBox method check.
/**
* Check the CheckBox
* @throws VerificationException if the element doesn't exist
*/
@Override
@PublicAtsApi
public void check() {
new SwingElementState(this).waitToBecomeExisting();
((JCheckBoxFixture) SwingElementLocator.findFixture(this)).check();
}
use of com.axway.ats.uiengine.utilities.swing.SwingElementState in project ats-framework by Axway.
the class SwingComponent method doubleClick.
/**
* Simulates a user double click over the GUI component.
*/
@PublicAtsApi
public void doubleClick() {
new SwingElementState(this).waitToBecomeExisting();
click(MouseClickInfo.leftButton().times(2));
}
use of com.axway.ats.uiengine.utilities.swing.SwingElementState in project ats-framework by Axway.
the class SwingComponent method focus.
/**
* Focusing the GUI component.
*/
@PublicAtsApi
public void focus() {
new SwingElementState(this).waitToBecomeExisting();
ComponentFixture<? extends Component> componentFixture = SwingElementLocator.findFixture(this);
componentFixture.robot.focus(componentFixture.target);
}
use of com.axway.ats.uiengine.utilities.swing.SwingElementState in project ats-framework by Axway.
the class SwingComponent method rightClick.
/**
* Simulates a user right click over the GUI component.
*/
@PublicAtsApi
public void rightClick() {
new SwingElementState(this).waitToBecomeExisting();
click(MouseClickInfo.rightButton());
}
Aggregations