Beispiel #1
0
 public void PeriodoemBranco()
 {
     Thread.Sleep(2000);
     KeyboardActions.Backspace(Browser, inpperiodo);
     KeyboardActions.Tab(Browser, inpperiodo);
     KeyboardActions.Backspace(Browser, inpperiodo);
 }
 private void UsarPersonagem(string nomePersonagem)
 {
     InputPersonagem.EsperarElemento(Browser);
     if (InputPersonagem.IsElementVisible(Browser))
     {
         KeyboardActions.Backspace(Browser, InputPersonagem);
     }
     AutomatedActions.SendDataEnterATM(Browser, InputPersonagem, nomePersonagem);
 }
Beispiel #3
0
 public void EditarItemDePedido(string ValorPagamento, string Moeda, string TaxaConversao, string Autor)
 {
     SelecionarItemParaEditar(Autor);
     KeyboardActions.ShiftHome(Browser, InpValorPagamento);
     KeyboardActions.Backspace(Browser, InpValorPagamento);
     AutomatedActions.SendData(Browser, InpValorPagamento, ValorPagamento);
     SelecionarMoedaPedido(Moeda);
     KeyboardActions.ShiftHome(Browser, InpTaxaConversao);
     KeyboardActions.Backspace(Browser, InpTaxaConversao);
     AutomatedActions.SendData(Browser, InpTaxaConversao, TaxaConversao);
 }
 private void PreencherDadosPersonagemContinuidade(string numeroRoupa, string tempoCaracterizacao)
 {
     if (InputNumeroRoupa.IsElementVisible(Browser))
     {
         AutomatedActions.SendDataATM(Browser, InputNumeroRoupa, numeroRoupa);
     }
     InputNumeroBloco.Esperar(Browser, 1000);
     InputNumeroBloco.EsperarElemento(Browser);
     KeyboardActions.Backspace(Browser, InputNumeroBloco);
     AutomatedActions.SendDataATM(Browser, InputNumeroBloco, "1");
     AutomatedActions.SendDataATM(Browser, InputSituacao, FakeHelpers.FullName());
     AutomatedActions.SendDataATM(Browser, InputCaracterizacao, tempoCaracterizacao);
     AutomatedActions.SendDataATM(Browser, InputDescricaoPlanejada, FakeHelpers.FullName());
 }