public String getAdminPassword() { String pwd = System.getProperty("itAdminPassword"); if (StringUtils.isNotBlank(pwd)) { return pwd; } else { return "admin"; } }
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); }