public void TenantLogin(dynamic data) { tl = new TenantLogin(driver); browserOps.Goto("https://myaccount.eb-test.site/"); tl.UserName.SendKeys(data.username); tl.Password.SendKeys(data.password); tl.LoginButton.Click(); browserOps.implicitWait(50); }
public void Initialize() { if (driver == null) { browserOps.Init_Browser(); driver = browserOps.getDriver; tl = new TenantLogin(driver); io = new IntegrationObject(driver); } }