Search in sources :

Example 6 with JRadioButtonFixture

use of org.fest.swing.fixture.JRadioButtonFixture in project android by JetBrains.

the class CreateFileFromTemplateDialogFixture method setModifier.

public void setModifier(@NotNull Modifier modifier) {
    String buttonName = modifier.toString().toLowerCase(Locale.US) + "_radio_button";
    JRadioButtonFixture modifierButton = new JRadioButtonFixture(robot(), buttonName);
    modifierButton.setSelected(true);
}
Also used : JRadioButtonFixture(org.fest.swing.fixture.JRadioButtonFixture)

Aggregations

JRadioButtonFixture (org.fest.swing.fixture.JRadioButtonFixture)6 PublicAtsApi (com.axway.ats.common.PublicAtsApi)1 ElementNotFoundException (com.axway.ats.uiengine.exceptions.ElementNotFoundException)1 SwingDriverInternal (com.axway.ats.uiengine.internal.driver.SwingDriverInternal)1 SwingElementState (com.axway.ats.uiengine.utilities.swing.SwingElementState)1 Component (java.awt.Component)1 JButton (javax.swing.JButton)1 JCheckBox (javax.swing.JCheckBox)1 JComboBox (javax.swing.JComboBox)1 JLabel (javax.swing.JLabel)1 JList (javax.swing.JList)1 JMenuItem (javax.swing.JMenuItem)1 JOptionPane (javax.swing.JOptionPane)1 JPopupMenu (javax.swing.JPopupMenu)1 JRadioButton (javax.swing.JRadioButton)1 JSpinner (javax.swing.JSpinner)1 JTabbedPane (javax.swing.JTabbedPane)1 JTable (javax.swing.JTable)1 JToggleButton (javax.swing.JToggleButton)1 JTree (javax.swing.JTree)1