예제 #1
0
        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();
        }
예제 #2
0
        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);
        }
예제 #3
0
 public void AssertPresent()
 {
     ParentElement.AssertElementPresent(this.Locator);
 }
예제 #4
0
 public void CheckLoginLinkExists()
 {
     lnkLogin.AssertElementPresent();
 }