/// <summary> /// Verify that user login attempt has succeeded. User should be redirected to Member Page. /// </summary> public void VerifyLoginPassed() { _utilsValidation.ImplicitWait(5); string actualText = _utilsValidation.GetText(DriverUtilities.ElementAccessorType.XPath, "//*[@id='wid-memberList']/header/h2"); VerifyTextIsDisplayed("Member List", actualText); }
public void SetUp() { this._driver = new FirefoxDriver(); this._utilsValidation = new DriverUtilitiesValidation(_driver); _utilsValidation.ImplicitWait(10); System.IO.Directory.SetCurrentDirectory(TestContext.CurrentContext.WorkDirectory); }