Exemple #1
0
 public void setGoalTitle_UI(WebDriver driver, String str) {
   if (!str.equals("")) {
     By by = By.id("title");
     //			Navigator.waitForAjaxElementLoad(driver, by);
     // Navigator.explicitWait();
     Navigator.waitForAjax(driver, by);
     WebDriverUtils.fillin_textbox(driver, by, str);
   }
 }
Exemple #2
0
 public void setProgramDesc_UI(WebDriver driver, String str) {
   if (!str.equalsIgnoreCase("")) {
     By by = By.id("PROGRAM_DESC");
     WebDriverUtils.fillin_textbox(driver, by, str);
   }
 }
Exemple #3
0
 public void setMilestone_UI(WebDriver driver, String str) {
   if (!str.equals("")) {
     By by = By.id("measurement");
     WebDriverUtils.fillin_textbox(driver, by, str);
   }
 }
Exemple #4
0
 public void setDesc_UI(WebDriver driver, String str) {
   if (!str.equals("")) {
     By by = By.id("description");
     WebDriverUtils.fillin_textbox(driver, by, str);
   }
 }
Exemple #5
0
 public void setWeight_UI(WebDriver driver, String str) {
   if (!str.equals("")) {
     By by = By.id("weight");
     WebDriverUtils.fillin_textbox(driver, by, str);
   }
 }