/** gets text for txtLocation * @return String text */ public String getProjectLocation() { return txtLocation().getText(); }
/** gets text for txtProject * @return String text */ public String getProject() { return txtProject().getText(); }
/** gets text for txtContextPath * @return String text */ public String getContextPath() { return txtContextPath().getText(); }
/** gets text for txtCreatedFile * @return String text */ public String getCreatedFile() { return txtCreatedFile().getText(); }
/** gets text for txtContextPath * @return String text */ public String getContextPath() { return txtContextPath().getText(); }
/** gets text for txtProjectName * @return String text */ public String getProjectName() { return txtProjectName().getText(); }
/** gets text for txtJSPFileName * @return String text */ public String getJSPFileName() { return txtJSPFileName().getText(); }
/** gets text for txtBuildScript * @return String text */ public String getBuildScript() { return txtBuildScript().getText(); }
/** gets text for txtFolder * @return String text */ public String getFolder() { return txtFolder().getText(); }
/** gets text for txtWebPagesFolder * @return String text */ public String getWebPagesFolder() { return txtWebPagesFolder().getText(); }
/** gets text for txtProjectFolder * @return String text */ public String getProjectFolder() { return txtProjectFolder().getText(); }
@RobotKeyword public String getComboboxText(String identifier) { return createOperator(identifier).getTextField().getText(); }
wizard_location.txtProjectLocation().clearText(); wizard_location.txtProjectLocation().typeText(getTempDir()); String pname = wizard_location.txtProjectName().getText() + System.currentTimeMillis(); wizard_location.txtProjectName().clearText(); wizard_location.txtProjectName().typeText(pname);
wizard_location.txtProjectLocation().clearText(); wizard_location.txtProjectLocation().typeText(getTempDir()); String pname = wizard_location.txtProjectName().getText() + System.currentTimeMillis(); wizard_location.txtProjectName().clearText(); wizard_location.txtProjectName().typeText(pname);
@SuppressWarnings("ResultOfObjectAllocationIgnored") @Test public void testTabbedPane() { final ComponentChooser keyFileChooser = new NameComponentChooser("keyFileChooser"); new JTabbedPaneOperator(frame).selectPage(AuthenticationPanel.AUTH_KEY_FILE); // select tab for key files new JButtonOperator(frame, keyFileChooser).push(); // open file chooser JFileChooserOperator fc = new TFileChooserOperator(frame); fc.cancel(); new JTabbedPaneOperator(frame).selectPage(AuthenticationPanel.AUTH_PASSWD); // select tab for passwords new JLabelOperator(frame, LABEL_TEXT); fc = null; new JTabbedPaneOperator(frame).selectPage(AuthenticationPanel.AUTH_KEY_FILE); // select tab for key files new JButtonOperator(frame, keyFileChooser).push(); // open file chooser fc = new TFileChooserOperator(frame); final File file = new File("test"); fc.setSelectedFile(file); fc.approve(); fc.getQueueTool().waitEmpty(WAIT_EMPTY); JTextFieldOperator tf = new JTextFieldOperator(frame); assertEquals(file.getPath(), tf.getText()); fc = null; new JTabbedPaneOperator(frame).selectPage(AuthenticationPanel.AUTH_PASSWD); // select tab for passwords new JLabelOperator(frame, LABEL_TEXT); } }