Examples of JComboBoxFixture


Examples of org.fest.swing.fixture.JComboBoxFixture

    ComponentFinder finder = dialogFixture.robot.finder();
    JYearChooser yearChooser = finder.find(new JYearChooserFinder(
        "YearChooser"));
    yearChooser.setYear(2008);

    JComboBoxFixture comboBoxFrom = dialogFixture
        .comboBox("ComboBoxWeekFrom");
    comboBoxFrom.target.setSelectedIndex(49);

    JComboBoxFixture comboBoxTo = dialogFixture.comboBox("ComboBoxWeekTo");
    comboBoxTo.target.setSelectedIndex(49);

    JComboBoxFixture comboBoxProductArea = dialogFixture
        .comboBox("ComboBoxProductArea");
    comboBoxProductArea.target.setSelectedIndex(0);

    dialogFixture.button("ButtonShowExcel").click();
View Full Code Here

Examples of org.fest.swing.fixture.JComboBoxFixture

    ComponentFinder finder = dialogFixture.robot.finder();
    JYearChooser yearChooser = finder.find(new JYearChooserFinder(
        "YearChooser"));
    yearChooser.setYear(2009);

    JComboBoxFixture comboBoxFrom = dialogFixture
        .comboBox("ComboBoxWeekFrom");
    comboBoxFrom.target.setSelectedIndex(49);

    JComboBoxFixture comboBoxTo = dialogFixture.comboBox("ComboBoxWeekTo");
    comboBoxTo.target.setSelectedIndex(49);

    JComboBoxFixture comboBoxProductArea = dialogFixture
        .comboBox("ComboBoxProductArea");
    comboBoxProductArea.target.setSelectedIndex(0);

    dialogFixture.checkBox("CheckBoxSalesman").click();
View Full Code Here

Examples of org.fest.swing.fixture.JComboBoxFixture

          new JYearChooserFinder("YearChooserTransport")).setYear(2010);
      dialogFixture.comboBox("ComboBoxWeeks").target
          .setSelectedIndex(Util.getCurrentWeek() - 2);
      Pause.pause(PAUSE);
    }
    JComboBoxFixture combo = dialogFixture.comboBox("ComboBoxSupplier1");
    combo.selectItem(combo.target.getSelectedIndex() + 1);
    dialogFixture.button("SaveTransport").click();
    dialogFixture
        .table(TableEnum.TABLETRANSPORTORDERS.getTableName() + "1")
        .cell(row(0).column(1)).select();
    dialogFixture
View Full Code Here

Examples of org.fest.swing.fixture.JComboBoxFixture

          new JYearChooserFinder("YearChooserTransport")).setYear(2013);
      dialogFixture.comboBox("ComboBoxWeeks").target
          .setSelectedItem(1);
      Pause.pause(PAUSE);
    }
    JComboBoxFixture combo = dialogFixture.comboBox("ComboBoxSupplier1");
    combo.selectItem(combo.target.getSelectedIndex() + 1);
    dialogFixture.button("SaveTransport").click();
    JCheckBoxFixture checkBox = dialogFixture.checkBox("CheckBoxSent1");

    if (checkBox.target.isSelected()) {
      checkBox.uncheck();
View Full Code Here

Examples of org.fest.swing.fixture.JComboBoxFixture

        .finderWithCurrentAwtHierarchy();
    JYearChooser yearChooser = finder.find(new JYearChooserFinder(
        "YearChooser"));
    yearChooser.setYear(2009);

    JComboBoxFixture comboBoxFrom = dialogFixture
        .comboBox("ComboBoxWeekFrom");
    comboBoxFrom.target.setSelectedIndex(2);

    JComboBoxFixture comboBoxTo = dialogFixture.comboBox("ComboBoxWeekTo");
    comboBoxTo.target.setSelectedIndex(2);

    JComboBoxFixture comboBoxProductArea = dialogFixture
        .comboBox("ComboBoxProductArea");
    comboBoxProductArea.target.setSelectedIndex(0);

    dialogFixture.button("ButtonShowExcel").click();
View Full Code Here

Examples of org.fest.swing.fixture.JComboBoxFixture

    JYearChooser yearChooser = dialogFixture.robot.finder().find(
        new JYearChooserFinder("YearChooser"));
    yearChooser.setYear(2009);

    JComboBoxFixture comboBoxFrom = dialogFixture
        .comboBox("ComboBoxWeekFrom");
    comboBoxFrom.target.setSelectedIndex(10);

    JComboBoxFixture comboBoxTo = dialogFixture.comboBox("ComboBoxWeekTo");
    comboBoxTo.target.setSelectedIndex(10);

    dialogFixture.button("ButtonShowExcel").click();

    JOptionPaneFinder.findOptionPane().withTimeout(140000).using(
View Full Code Here

Examples of org.fest.swing.fixture.JComboBoxFixture

        .finderWithCurrentAwtHierarchy();
    JYearChooser yearChooser = finder.find(new JYearChooserFinder(
        "YearChooserTransportCost"));
    yearChooser.setYear(2008);

    JComboBoxFixture comboBoxWeekFrom = dialogFixture
        .comboBox("ComboBoxWeekFrom");
    comboBoxWeekFrom.selectItem("50");

    JComboBoxFixture comboBoxWeekTo = dialogFixture
        .comboBox("ComboBoxWeekTo");
    comboBoxWeekTo.selectItem("50");

    dialogFixture.table("TableTransportCostBasis").requireVisible();

  }
View Full Code Here

Examples of org.fest.swing.fixture.JComboBoxFixture

    dialogFixture.checkBox("CheckBoxOrder").requireVisible();
    dialogFixture.checkBox("CheckBoxOffer").requireVisible();
    dialogFixture.comboBox("ComboBoxProductArea").requireVisible();

    JComboBoxFixture comboBoxProductArea = dialogFixture
        .comboBox("ComboBoxProductArea");
    comboBoxProductArea.target.setSelectedIndex(0);

    dialogFixture.button("ButtonShowExcel").requireVisible();
  }
View Full Code Here

Examples of org.fest.swing.fixture.JComboBoxFixture

    dialogFixture.cleanUp();
  }

  @Test
  public void testShowReportSalgDriftTransport() {
    JComboBoxFixture comboBox = dialogFixture
        .comboBox("ComboBoxReportType");
    comboBox.selectItem(0);
    String reportName = comboBox.valueAt(0);
    dialogFixture.comboBox("ComboBoxProductArea").selectItem(
        "Garasje villa");
    dialogFixture.comboBox("ComboBoxWeek").selectItem(3);
    dialogFixture.button("ButtonShowReport").click();
View Full Code Here

Examples of org.fest.swing.fixture.JComboBoxFixture

  @Test
  public void testShowReportMonteringOkonomi() {
    dialogFixture.comboBox("ComboBoxProductArea").selectItem(
        "Garasje villa");
    JComboBoxFixture comboBox = dialogFixture
        .comboBox("ComboBoxReportType");
    comboBox.selectItem(1);
    String reportName = comboBox.valueAt(1);
   
    dialogFixture.comboBox("ComboBoxWeek").selectItem(3);
    dialogFixture.button("ButtonShowReport").click();

    WindowFinder.findDialog(reportName).withTimeout(180000).using(
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.