示例#1
0
 public void LoginSuccess()
 {
     DSL_Common_For_All.ToType(VALUE_Common_For_All.DefaultUser, new PAGE_Autenticacao_Do_Usuario(DriverFirefox).InputUsuario());
     DSL_Common_For_All.ToType(VALUE_Common_For_All.DefaultPassword, new PAGE_Autenticacao_Do_Usuario(DriverFirefox).InputSenha());
     DSL_Common_For_All.ClickElement(new PAGE_Autenticacao_Do_Usuario(DriverFirefox).ButtonEfetuarLogin(), UTIL_Common_For_All.OneSecond());
     DSL_Common_For_All.WaitPageOnChange(URL_Cosmos.UrlCosmos);
 }
示例#2
0
 public void CompareLabelsOrthography()
 {
     DSL_Common_For_All.CompareOrthographyTextElement(VALUE_Logoff.Label404FileOrDirectoryNotFound,
                                                      new PAGE_Logoff(DriverFirefox).Label404FileOrDirectoryNotFound());
     DSL_Common_For_All.CompareOrthographyTextElement(VALUE_Logoff.LabelTheResourceYouAreLookingForMightHaveBeenRemovedHadItsNameChangedOrIsTemporarilyUnavailable,
                                                      new PAGE_Logoff(DriverFirefox).LabelTheResourceYouAreLookingForMightHaveBeenRemovedHadItsNameChangedOrIsTemporarilyUnavailable());
 }
示例#3
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());
 }
示例#4
0
 public void CompareLabelsOrthography()
 {
     DSL_Common_For_All.CompareOrthographyTextElement(VALUE_Autenticacao_Do_Usuario.LabelAutenticacaoDoUsuario,
                                                      new PAGE_Autenticacao_Do_Usuario(DriverFirefox).LabelAutenticacaoDoUsuario());
     DSL_Common_For_All.CompareOrthographyTextElement(VALUE_Autenticacao_Do_Usuario.LabelUsuario,
                                                      new PAGE_Autenticacao_Do_Usuario(DriverFirefox).LabelUsuario());
     DSL_Common_For_All.CompareOrthographyTextElement(VALUE_Autenticacao_Do_Usuario.LabelSenha,
                                                      new PAGE_Autenticacao_Do_Usuario(DriverFirefox).LabelSenha());
 }
示例#5
0
 public void CompareLinksModulesOrthography()
 {
     DSL_Common_For_All.CompareOrthographyTextElement(VALUE_Cosmos.LinkRecall0Module, new PAGE_Cosmos(DriverFirefox).LinkRecall0Module());
     DSL_Common_For_All.CompareOrthographyTextElement(VALUE_Cosmos.LinkAdministracaoPessoalModule, new PAGE_Cosmos(DriverFirefox).LinkAdministracaoPessoalModule());
     DSL_Common_For_All.CompareOrthographyTextElement(VALUE_Cosmos.LinkPainelDeGestaoCRMModule, new PAGE_Cosmos(DriverFirefox).LinkPainelDeGestaoCRMModule());
     DSL_Common_For_All.CompareOrthographyTextElement(VALUE_Cosmos.LinkManutencaoModule, new PAGE_Cosmos(DriverFirefox).LinkManutencaoModule());
     DSL_Common_For_All.CompareOrthographyTextElement(VALUE_Cosmos.LinkCancelarInutilizarNFeModule, new PAGE_Cosmos(DriverFirefox).LinkCancelarInutilizarNFeModule());
     DSL_Common_For_All.CompareOrthographyTextElement(VALUE_Cosmos.LinkAdministracaoPessoalModule, new PAGE_Cosmos(DriverFirefox).LinkAdministracaoPessoal2Module());
     DSL_Common_For_All.CompareOrthographyTextElement(VALUE_Cosmos.LinkManutencaoModule, new PAGE_Cosmos(DriverFirefox).LinkManutencao2Module());
     DSL_Common_For_All.CompareOrthographyTextElement(VALUE_Cosmos.LinkCancelarInutilizarNFeModule, new PAGE_Cosmos(DriverFirefox).LinkCancelarInutilizarNFe2Module());
     DSL_Common_For_All.CompareOrthographyTextElement(VALUE_Cosmos.LinkPrecosModule, new PAGE_Cosmos(DriverFirefox).LinkPrecosModule());
     DSL_Common_For_All.CompareOrthographyTextElement(VALUE_Cosmos.LinkNFeModule, new PAGE_Cosmos(DriverFirefox).LinkNFeModule());
     DSL_Common_For_All.CompareOrthographyTextElement(VALUE_Cosmos.LinkClinicFarmaModule, new PAGE_Cosmos(DriverFirefox).LinkClinicFarmaModule());
     DSL_Common_For_All.CompareOrthographyTextElement(VALUE_Cosmos.LinkImportacaoExportacaoModule, new PAGE_Cosmos(DriverFirefox).LinkImportacaoExportacaoModule());
     DSL_Common_For_All.CompareOrthographyTextElement(VALUE_Cosmos.LinkDocumentosSanitariosModule, new PAGE_Cosmos(DriverFirefox).LinkDocumentosSanitariosModule());
     DSL_Common_For_All.CompareOrthographyTextElement(VALUE_Cosmos.LinkCartaoSempreModule, new PAGE_Cosmos(DriverFirefox).LinkCartaoSempreModule());
     DSL_Common_For_All.CompareOrthographyTextElement(VALUE_Cosmos.LinkAnotacaoDeDadosModule, new PAGE_Cosmos(DriverFirefox).LinkAnotacaoDeDadosModule());
     DSL_Common_For_All.CompareOrthographyTextElement(VALUE_Cosmos.LinkRelatoriosModule, new PAGE_Cosmos(DriverFirefox).LinkRelatoriosModule());
     DSL_Common_For_All.CompareOrthographyTextElement(VALUE_Cosmos.LinkPDGModule, new PAGE_Cosmos(DriverFirefox).LinkPDGModule());
     DSL_Common_For_All.CompareOrthographyTextElement(VALUE_Cosmos.LinkControleDeDespesasModule, new PAGE_Cosmos(DriverFirefox).LinkControleDeDespesasModule());
     DSL_Common_For_All.CompareOrthographyTextElement(VALUE_Cosmos.LinkFrenteDeLojaModule, new PAGE_Cosmos(DriverFirefox).LinkFrenteDeLojaModule());
     DSL_Common_For_All.CompareOrthographyTextElement(VALUE_Cosmos.LinkPainelDesenvolvimentoModule, new PAGE_Cosmos(DriverFirefox).LinkPainelDesenvolvimentoModule());
     DSL_Common_For_All.CompareOrthographyTextElement(VALUE_Cosmos.LinkUltimaChanceNovoModule, new PAGE_Cosmos(DriverFirefox).LinkUltimaChanceNovoModule());
     DSL_Common_For_All.CompareOrthographyTextElement(VALUE_Cosmos.LinkInventarioParcialModule, new PAGE_Cosmos(DriverFirefox).LinkInventarioParcialModule());
     DSL_Common_For_All.CompareOrthographyTextElement(VALUE_Cosmos.LinkGestaoTelefoniaModule, new PAGE_Cosmos(DriverFirefox).LinkGestaoTelefoniaModule());
     DSL_Common_For_All.CompareOrthographyTextElement(VALUE_Cosmos.LinkPadroesInternosModule, new PAGE_Cosmos(DriverFirefox).LinkPadroesInternosModule());
     DSL_Common_For_All.CompareOrthographyTextElement(VALUE_Cosmos.LinkAIOModule, new PAGE_Cosmos(DriverFirefox).LinkAIOModule());
     DSL_Common_For_All.CompareOrthographyTextElement(VALUE_Cosmos.LinkClienteSempreModule, new PAGE_Cosmos(DriverFirefox).LinkClienteSempreModule());
     DSL_Common_For_All.CompareOrthographyTextElement(VALUE_Cosmos.LinkBeneficiosModule, new PAGE_Cosmos(DriverFirefox).LinkBeneficiosModule());
     DSL_Common_For_All.CompareOrthographyTextElement(VALUE_Cosmos.LinkSistemaDeFeriasModule, new PAGE_Cosmos(DriverFirefox).LinkSistemaDeFeriasModule());
     DSL_Common_For_All.CompareOrthographyTextElement(VALUE_Cosmos.LinkEncurtadorDeUrlsModule, new PAGE_Cosmos(DriverFirefox).LinkEncurtadorDeUrlsModule());
     DSL_Common_For_All.CompareOrthographyTextElement(VALUE_Cosmos.LinkEstoqueClinicFarmaModule, new PAGE_Cosmos(DriverFirefox).LinkEstoqueClinicFarmaModule());
     DSL_Common_For_All.CompareOrthographyTextElement(VALUE_Cosmos.LinkControleAdiantamentoModule, new PAGE_Cosmos(DriverFirefox).LinkControleAdiantamentoModule());
     DSL_Common_For_All.CompareOrthographyTextElement(VALUE_Cosmos.LinkEntradaDiretaModule, new PAGE_Cosmos(DriverFirefox).LinkEntradaDiretaModule());
     DSL_Common_For_All.CompareOrthographyTextElement(VALUE_Cosmos.LinkMonitoramentoSupplyChainModule, new PAGE_Cosmos(DriverFirefox).LinkMonitoramentoSupplyChainModule());
     DSL_Common_For_All.CompareOrthographyTextElement(VALUE_Cosmos.LinkPlanejamentoSupplyChainModule, new PAGE_Cosmos(DriverFirefox).LinkPlanejamentoSupplyChainModule());
     DSL_Common_For_All.CompareOrthographyTextElement(VALUE_Cosmos.LinkProcessosBPMModule, new PAGE_Cosmos(DriverFirefox).LinkProcessosBPMModule());
     DSL_Common_For_All.CompareOrthographyTextElement(VALUE_Cosmos.LinkDevolucaoDeProdutosParaOFornecedorModule,
                                                      new PAGE_Cosmos(DriverFirefox).LinkDevolucoesDeProdutosParaOFornecedorModule());
     DSL_Common_For_All.CompareOrthographyTextElement(VALUE_Cosmos.LinkFarmaciaPopularPagueMenosModule, new PAGE_Cosmos(DriverFirefox).LinkFarmaciaPopularPagueMenosModule());
     DSL_Common_For_All.CompareOrthographyTextElement(VALUE_Cosmos.LinkIndisponivelModule, new PAGE_Cosmos(DriverFirefox).LinkIndisponivelModule());
     DSL_Common_For_All.CompareOrthographyTextElement(VALUE_Cosmos.LinkGestaoDeSuprimentosModule, new PAGE_Cosmos(DriverFirefox).LinkGestaoDeSuprimentosModule());
     DSL_Common_For_All.CompareOrthographyTextElement(VALUE_Cosmos.LinkCartaoCorporativoModule, new PAGE_Cosmos(DriverFirefox).LinkCartaoCorporativoModule());
     DSL_Common_For_All.CompareOrthographyTextElement(VALUE_Cosmos.LinkSuporteDePedidosEcommercerModule, new PAGE_Cosmos(DriverFirefox).LinkSuportePedidosEcommerceModule());
 }
示例#6
0
 public void CheckModuleImagesDisplayed()
 {
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).ImageRecall0Module());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).ImageAdministracaoPessoalModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).ImagePainelDeGestaoCRMModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).ImageManutencaoModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).ImageCancelarInutilizarNFeModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).ImageAdministracaoPessoal2Module());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).ImageManutencao2Module());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).ImageCancelarInutilizarNFe2Module());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).ImagePrecosModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).ImageNFeModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).ImageClinicFarmaModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).ImageImportacaoExportacaoModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).ImageDocumentosSanitariosModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).ImageCartaoSempreModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).ImageAnotacaoDeDadosModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).ImageRelatoriosModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).ImagePDGModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).ImageControleDeDespesasModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).ImageFrenteDeLojaModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).ImagePainelDesenvolvimentoModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).ImageUltimaChanceNovoModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).ImageInventarioParcialModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).ImageGestaoTelefoniaModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).ImagePadroesInternosModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).ImageAIOModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).ImageClienteSempreModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).ImageBeneficiosModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).ImageSistemaDeFeriasModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).ImageEncurtadorDeUrlsModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).ImageEstoqueClinicFarmaModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).ImageControleAdiantamentoModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).ImageEntradaDiretaModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).ImageMonitoramentoSupplyChainModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).ImagePlanejamentoSupplyChainModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).ImageProcessosBPMModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).ImageDevolucoesDeProdutosParaOFornecedorModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).ImageFarmaciaPopularPagueMenosModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).ImageIndisponivelModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).ImageGestaoDeSuprimentosModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).ImageCartaoCorporativoModule());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Cosmos(DriverFirefox).ImageSuporteDePedidosEcommerceModule());
 }
示例#7
0
 public void CheckFooterDisplayed()
 {
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Common_For_Cosmos(DriverFirefox).FooterEmpreendimentosPagueMenos());
 }
示例#8
0
 public void CompareLinkCosmosNetOrthography()
 {
     DSL_Common_For_All.CompareOrthographyTextElement(VALUE_Common_For_Cosmos.LinkCosmosNet,
                                                      new PAGE_Common_For_Cosmos(DriverFirefox).LinkCosmosNet());
 }
示例#9
0
 public void CompareHeaderServerErrorOrthography()
 {
     DSL_Common_For_All.CompareOrthographyTextElement(VALUE_Logoff.HeaderServerError, new PAGE_Logoff(DriverFirefox).HeaderServerError());
 }
示例#10
0
 public void TypeTextInInputs()
 {
     DSL_Common_For_All.ToType(VALUE_Common_For_All.DefaultUser, new PAGE_Autenticacao_Do_Usuario(DriverFirefox).InputUsuario());
     DSL_Common_For_All.ToType(VALUE_Common_For_All.DefaultPassword, new PAGE_Autenticacao_Do_Usuario(DriverFirefox).InputSenha());
 }
示例#11
0
 public void CheckHeaderDisplayed()
 {
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Logoff(DriverFirefox).HeaderServerError());
 }
示例#12
0
 public void CheckLabelsDisplayed()
 {
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Logoff(DriverFirefox).Label404FileOrDirectoryNotFound());
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Logoff(DriverFirefox).
                                              LabelTheResourceYouAreLookingForMightHaveBeenRemovedHadItsNameChangedOrIsTemporarilyUnavailable());
 }
示例#13
0
 public void CheckLinkCosmosNetDisplayed()
 {
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Common_For_Cosmos(DriverFirefox).LinkCosmosNet());
     DSL_Common_For_All.SimpleWait(5000);
 }
示例#14
0
 public void ClickLinkCosmosNetValidatingUrl()
 {
     DSL_Common_For_All.ClickElement(new PAGE_Common_For_Cosmos(DriverFirefox).LinkCosmosNet(), UTIL_Common_For_All.OneSecond());
     DSL_Common_For_All.WaitPageOnChange(URL_Logoff.UrlLogoff);
 }
示例#15
0
 public void Setup()
 {
     DSL_Autenticacao_Do_Usuario.LogIntoCosmos(UTIL_Common_For_All.DefaultEntry());
     DSL_Common_For_All.WaitPageOnChange(URL_Cosmos.UrlCosmos);
     DSL_Common_For_All.SimpleWait(UTIL_Common_For_All.ThreeSeconds());
 }
示例#16
0
 public void AssertUrlPageAutenticacaoDoUsuario()
 {
     DSL_Common_For_All.WaitPageOnChange(URL_Cosmos.UrlCosmos);
 }
示例#17
0
 public void CheckButtonDisplayed()
 {
     DSL_Common_For_All.CheckElementDisplayed(new PAGE_Autenticacao_Do_Usuario(DriverFirefox).ButtonEfetuarLogin());
 }
示例#18
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());
 }
示例#19
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());
 }
示例#20
0
 public void TypeTextInUserInput()
 {
     DSL_Common_For_All.ToType(VALUE_Common_For_All.StringUser, new PAGE_Autenticacao_Do_Usuario(DriverFirefox).InputUsuario());
 }
示例#21
0
 public void AssertUrlPageAutenticacaoDoUsuario()
 {
     DSL_Common_For_All.WaitPageOnChange(URL_Autenticacao_Do_Usuario.UrlAutenticacaoDoUsuario);
 }
示例#22
0
 public void CompareFooterOrthography()
 {
     DSL_Common_For_All.CompareOrthographyTextElement(VALUE_Common_For_Cosmos.FooterEmpreendimentosPagueMenos,
                                                      new PAGE_Common_For_Cosmos(DriverFirefox).FooterEmpreendimentosPagueMenos());
 }
示例#23
0
 public void CloseFirefox()
 {
     DSL_Common_For_All.SimpleWait(UTIL_Common_For_All.OneSecond());
     DriverFirefox.Quit();
 }
示例#24
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());
 }
示例#25
0
 public void Setup()
 {
     DSL_Common_For_All.ClickElement(new PAGE_Common_For_Cosmos(DriverFirefox).LinkCosmosNet(), UTIL_Common_For_All.OneSecond());
 }
示例#26
0
 public void AssertUrlPageLogoff()
 {
     DSL_Common_For_All.WaitPageOnChange(URL_Logoff.UrlLogoff);
 }
示例#27
0
 public void ClickLinkCosmosNet()
 {
     DSL_Common_For_All.ClickElement(new PAGE_Common_For_Cosmos(DriverFirefox).LinkCosmosNet());
 }