public void preencheLoginViaJavaScript() { wait.ElementToBeClickable(InputLogin); IJavaScriptExecutor jse = (IJavaScriptExecutor)DriverFactory.INSTANCE; jse.ExecuteScript("arguments[0].value='" + ConfigurationManager.AppSettings["login"].ToString() + "';", InputLogin); }
public void verificaAcessoTelaPlanejamento() { wait.ElementToBeClickable(TituloPlanejamento); Relatorio.test.Info("Menu Planejamento acessado."); }
public void limpaCampoInput(IWebElement elemento, string nomePageObjects) { wait.ElementToBeClickable(elemento); elemento.Clear(); //Relatorio.test.Pass("O elemento foi limpo: "+ nomePageObjects); }//fim void
public void verificaAcessoTelaRegistroMudanças() { wait.ElementToBeClickable(TituloRegistroMudanças); Relatorio.test.Info("Menu Registro de Mudanças acessado."); }
public void Click(IWebElement element) { IWebElement e = _waitUntil.ElementToBeClickable(element); General.ScrollTo(_driver, e); new Actions(_driver).MoveToElement(e).Click().Perform(); }
public void verificarAcessoVerTarefas() { wait.ElementToBeClickable(PaginaVerTarefas); Relatorio.test.Info("Página Ver Tarefas acessada."); }
public void verificaAcessoTelaMinhaConta() { wait.ElementToBeClickable(TituloMinhaConta); Relatorio.test.Info("Página Minha Conta acessada."); }
public void verificaAcessoTelaHome() { wait.ElementToBeClickable(BotaoNaoAtribuidos); Relatorio.test.Info("Página Home acessada."); }
public void verificaAcessoTelaGerenciar() { wait.ElementToBeClickable(By.XPath("//div[@id='sidebar']/ul/li[7]/a/i")); Relatorio.test.Info("Menu Gerenciar acessado."); }