public void ThenSeDesplieganLasComunasYNombresDeLasFarmacias() { LogHelpers.WriteSteps("Validando campos: ", _featureContext.FeatureInfo.Title, _scenarioContext.ScenarioInfo.Title); IWebElement elementComuna = _parallelConfig.Driver.FindById("comunas"); IWebElement elementFarmacias = _parallelConfig.Driver.FindById("farmacias"); elementComuna.AssertElementPresent(); elementFarmacias.AssertElementPresent(); }
public void Login(string userName, string password) { Thread.Sleep(5000); IWebElement txtUserName = XMLHelpers.readObjectValues("userNameLogin"); txtUserName.AssertElementPresent(); txtUserName.SendKeys(userName); //txtUserName.SendKeys(userName); txtPassword.SendKeys(password); }
public void AssertPresent() { ParentElement.AssertElementPresent(this.Locator); }
public void CheckLoginLinkExists() { lnkLogin.AssertElementPresent(); }