public void Init() { string browserType = System.Environment.GetEnvironmentVariable("BROWSER"); string baseUrl = System.Environment.GetEnvironmentVariable("BASE_URL"); string hubUrl = System.Environment.GetEnvironmentVariable("HUB_URL"); if (baseUrl == null) { baseUrl = "http://autotest.test.keepteam.ru"; } DesiredCapabilities capabilities = new DesiredCapabilities(); //Mac 48 //Win8 49 //hubUrl = "http://192.168.0.48:4444/wd/hub"; browserType = "chrome"; capabilities.SetCapability(CapabilityType.BrowserName, browserType != null ? browserType : "chrome"); app = new AppManager(capabilities, baseUrl, hubUrl); }
public TimeOffHelper(AppManager app) { this.app = app; this.pages = app.Pages; }
public UserHelper(AppManager app) { this.app = app; this.pages = app.Pages; }
public EmailHelper(AppManager app) { }
public AssetHelper(AppManager app) { this.app = app; this.pages = app.Pages; }
public CommentHelper(AppManager app) { this.app = app; this.pages = app.Pages; }
public HiringHelper(AppManager app) { this.app = app; this.pages = app.Pages; }
//private AppManager app; //private PageManager pages; public FileHelper(AppManager app) { /* this.app = app; this.pages = app.Pages;*/ }
public KPIHelper(AppManager app) { this.app = app; this.pages = app.Pages; }
public ScreenHelper(AppManager app) { this.app = app; this.pages = app.Pages; }
//private AppManager app; //private PageManager pages; public FileHelper(AppManager app) { /* this.app = app; * this.pages = app.Pages;*/ }
public EmployeeHelper(AppManager app) { this.app = app; this.pages = app.Pages; }