Example #1
0
 public String getAdminPassword() {
   String pwd = System.getProperty("itAdminPassword");
   if (StringUtils.isNotBlank(pwd)) {
     return pwd;
   } else {
     return "admin";
   }
 }
Example #2
0
 public DataSupport() {
   // Base URL
   String url = System.getProperty("webdriver.base.url");
   if (StringUtils.isBlank(url)) {
     throw new IllegalStateException("No default URL defined at 'webdriver.base.url'");
   }
   // Client support
   client = new ClientSupport(url);
 }