Esempio n. 1
0
  private static void enterProjectNameAndWsdlUrlAndClickOk(Robot robot) {
    DialogFixture newProjectDialog =
        FestMatchers.dialogWithTitle(NEW_SOAP_PROJECT_DIALOG_NAME)
            .withTimeout(NEW_PROJECT_TIMEOUT)
            .using(robot);

    newProjectDialog.textBox(WSDL_FIELD_NAME).setText(TEST_WSDL);

    JButtonFixture buttonOK = newProjectDialog.button(FestMatchers.buttonWithText(OK_BUTTON_NAME));
    buttonOK.click();
  }
Esempio n. 2
0
 private static void openCreateNewSoapProjectDialog(FrameFixture rootWindow) {
   JPopupMenuFixture workspace = WorkspaceUtils.rightClickOnWorkspace(rootWindow);
   workspace.menuItem(FestMatchers.menuItemWithText(NEW_SOAP_PROJECT_MENU_ITEM_NAME)).click();
 }