Exemplo n.º 1
0
 public void LogIntoWithoutPassword()
 {
     DSL_Common_For_All.ToType(VALUE_Common_For_All.DefaultUser, new PAGE_Autenticacao_Do_Usuario(DriverFirefox).InputUsuario());
     DSL_Common_For_All.ClickElement(new PAGE_Autenticacao_Do_Usuario(DriverFirefox).ButtonEfetuarLogin(), UTIL_Common_For_All.OneSecond());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Autenticacao_Do_Usuario(DriverFirefox).MessageRequiredPassword());
     DSL_Common_For_All.CompareOrthographyTextElement(VALUE_Autenticacao_Do_Usuario.MessageRequired,
                                                      new PAGE_Autenticacao_Do_Usuario(DriverFirefox).MessageRequiredPassword());
 }
Exemplo n.º 2
0
 public void CheckModuleLinksDisplayed()
 {
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).LinkRecall0Module());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).LinkAdministracaoPessoalModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).LinkPainelDeGestaoCRMModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).LinkManutencaoModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).LinkCancelarInutilizarNFeModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).LinkAdministracaoPessoal2Module());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).LinkManutencao2Module());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).LinkCancelarInutilizarNFe2Module());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).LinkPrecosModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).LinkNFeModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).LinkClinicFarmaModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).LinkImportacaoExportacaoModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).LinkDocumentosSanitariosModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).LinkCartaoSempreModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).LinkAnotacaoDeDadosModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).LinkRelatoriosModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).LinkPDGModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).LinkControleDeDespesasModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).LinkFrenteDeLojaModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).LinkPainelDesenvolvimentoModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).LinkUltimaChanceNovoModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).LinkInventarioParcialModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).LinkGestaoTelefoniaModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).LinkPadroesInternosModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).LinkAIOModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).LinkClienteSempreModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).LinkBeneficiosModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).LinkSistemaDeFeriasModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).LinkEncurtadorDeUrlsModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).LinkEstoqueClinicFarmaModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).LinkControleAdiantamentoModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).LinkEntradaDiretaModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).LinkMonitoramentoSupplyChainModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).LinkPlanejamentoSupplyChainModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).LinkProcessosBPMModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).LinkDevolucoesDeProdutosParaOFornecedorModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).LinkFarmaciaPopularPagueMenosModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).LinkIndisponivelModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).LinkGestaoDeSuprimentosModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).LinkCartaoCorporativoModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).LinkSuportePedidosEcommerceModule());
 }
Exemplo n.º 3
0
 public void CheckLinkCosmosNetDisplayed()
 {
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Common_For_Cosmos(DriverFirefox).LinkCosmosNet());
     DSL_Common_For_All.SimpleWait(5000);
 }
Exemplo n.º 4
0
 public void CheckCommonImagesDisplayed()
 {
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Common_For_Cosmos(DriverFirefox).ImageCosmosNet());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Common_For_Cosmos(DriverFirefox).ImagePagueMenos());
 }
Exemplo n.º 5
0
 public void CheckFooterDisplayed()
 {
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Common_For_Cosmos(DriverFirefox).FooterEmpreendimentosPagueMenos());
 }
Exemplo n.º 6
0
 public void CheckLabelsDisplayed()
 {
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Logoff(DriverFirefox).Label404FileOrDirectoryNotFound());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Logoff(DriverFirefox).
                                              LabelTheResourceYouAreLookingForMightHaveBeenRemovedHadItsNameChangedOrIsTemporarilyUnavailable());
 }
Exemplo n.º 7
0
 public void CheckHeaderDisplayed()
 {
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Logoff(DriverFirefox).HeaderServerError());
 }
Exemplo n.º 8
0
 public void CheckButtonDisplayed()
 {
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Autenticacao_Do_Usuario(DriverFirefox).ButtonEfetuarLogin());
 }
Exemplo n.º 9
0
 public void CheckInputsDisplayed()
 {
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Autenticacao_Do_Usuario(DriverFirefox).InputUsuario());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Autenticacao_Do_Usuario(DriverFirefox).InputSenha());
 }
Exemplo n.º 10
0
 public void CheckLabelsDisplayed()
 {
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Autenticacao_Do_Usuario(DriverFirefox).LabelAutenticacaoDoUsuario());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Autenticacao_Do_Usuario(DriverFirefox).LabelUsuario());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Autenticacao_Do_Usuario(DriverFirefox).LabelSenha());
 }