Package org.fest.swing.fixture

Examples of org.fest.swing.fixture.DialogFixture.textBox()


    dialogFixture.button("ButtonAddPreventiveAction").click();
    DialogFixture addPreventiveAction = WindowFinder.findDialog(
        "EditPreventiveActionView").using(dialogFixture.robot);
//    addPreventiveAction.textBox("TextFieldProjectNr").enterText("9999");
    addPreventiveAction.textBox("TextFieldName").enterText("TEST");
    addPreventiveAction.textBox("TextFieldManager").click();
    addPreventiveAction.button("SavePreventiveAction").click();
    addPreventiveAction.button("EditCancelPreventiveAction").click();
    dialogFixture.comboBox("ComboBoxPreventiveAction").selectItem(1);
  }
View Full Code Here


    deviationDialog.button("AddDeviationComment").click();
    JDialog commentDialog = (JDialog) dialogFixture.robot.finder()
        .findByName("EditCommentView");
    DialogFixture commentDialogFixture = new DialogFixture(
        dialogFixture.robot, commentDialog);
    commentDialogFixture.textBox("TextAreaComment").enterText("test");
    commentDialogFixture.button("ButtonCommentOk").click();
    deviationDialog.button("ButtonOk").click();
    //
    PostShipment postShipment = null;
    boolean postShipmentNotFound = true;
View Full Code Here

            .findByName("PopupMenuPostShipment"));
    popupMenuFixture.menuItem("MenuItemAddComment").click();

    DialogFixture dialogComment = WindowFinder
        .findDialog("EditCommentView").using(dialogFixture.robot);
    dialogComment.textBox("TextAreaComment").enterText("test");
    dialogComment.checkBox("CheckBoxTransport").check();
    dialogComment.checkBox("CheckBoxPackage").check();
    dialogComment.button("ButtonCommentOk").click();

    postShipment = ((PostShipmentTableModel) dialogFixture
View Full Code Here

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

    DialogFixture editDialog = WindowFinder.findDialog(
        "EditConstructionTypeView").using(dialogFixture.robot);

    editDialog.textBox("TextFieldName").enterText("test");
    editDialog.comboBox("ComboBoxProductArea").selectItem("Takstol");

    editDialog.button("ButtonAddArticle").click();

    DialogFixture editArticleDialog = WindowFinder.findDialog(
View Full Code Here

  public void testCloseComment() {
    dialogFixture.show();
    dialogFixture.button("AddPreventiveAction").click();
    DialogFixture editDialog = WindowFinder.findDialog(
        "EditPreventiveActionView").using(dialogFixture.robot);
    editDialog.textBox("TextFieldName").enterText("test");
    editDialog.list("ListPreventiveActionComments").selectItem(0);

    editDialog.checkBox("CheckBoxClosed").check();

    DialogFixture inputDialog = WindowFinder.findDialog("Lukking").using(
View Full Code Here

    editDialog.checkBox("CheckBoxClosed").check();

    DialogFixture inputDialog = WindowFinder.findDialog("Lukking").using(
        dialogFixture.robot);

    inputDialog.textBox().enterText("Test");
    inputDialog.button("ButtonOk").click();

    editDialog.list("ListPreventiveActionComments").selectItem(1);
    editDialog.button("SavePreventiveAction").click();
View Full Code Here

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

    DialogFixture editDialog = WindowFinder.findDialog("EditAccidentView")
        .withTimeout(40000).using(dialogFixture.robot);

    editDialog.textBox("TextFieldRegisteredBy").enterText("Arild%");
    editDialog.button("EditSearchAccident").click();

    // Pause.pause(10000);

    JTableFixture tableFixture = dialogFixture.table("TableAccident");
View Full Code Here

    DialogFixture editDialog = new DialogFixture(dialogFixture.robot,
        (JDialog) dialogFixture.robot.finder().findByName(
            "EditOrderView"));

    editDialog.textBox("CustomerNr").enterText("100");
    editDialog.textBox("CustomerFirstName").enterText("Atle");
    editDialog.textBox("CustomerLastName").enterText("Brekka");
    editDialog.textBox("CustomerFirstName").click();
    editDialog.textBox("OrderNr").enterText("100100100");
    editDialog.textBox("Address").enterText("Arendal");
View Full Code Here

    DialogFixture editDialog = new DialogFixture(dialogFixture.robot,
        (JDialog) dialogFixture.robot.finder().findByName(
            "EditOrderView"));

    editDialog.textBox("CustomerNr").enterText("100");
    editDialog.textBox("CustomerFirstName").enterText("Atle");
    editDialog.textBox("CustomerLastName").enterText("Brekka");
    editDialog.textBox("CustomerFirstName").click();
    editDialog.textBox("OrderNr").enterText("100100100");
    editDialog.textBox("Address").enterText("Arendal");
    editDialog.textBox("PostalCode").enterText("4800");
View Full Code Here

        (JDialog) dialogFixture.robot.finder().findByName(
            "EditOrderView"));

    editDialog.textBox("CustomerNr").enterText("100");
    editDialog.textBox("CustomerFirstName").enterText("Atle");
    editDialog.textBox("CustomerLastName").enterText("Brekka");
    editDialog.textBox("CustomerFirstName").click();
    editDialog.textBox("OrderNr").enterText("100100100");
    editDialog.textBox("Address").enterText("Arendal");
    editDialog.textBox("PostalCode").enterText("4800");
    editDialog.textBox("Postoffice").enterText("Arendal");
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.