Skip to content

ravifel/AutomatedTestingProjectStarta

Repository files navigation

AutomatedTestingProjectStarta

  1. Create New Project: "Unit Test Project (.NET Framework) A project that contains MSTest unit tests. (C#, Windows, Test) .NET Framework Version: 4.7.2

  2. NuGet Packages:

image

  • MSTest.TestAdapter (2.2.10)
  • MSTest.TestFramework (2.2.10)
  • Selenium.RC (3.1.0)
  • Selenium.Support (4.8.0)
  • Selenium.WebDriver (4.8.0)
  • Selenium.WebDriver.ChromeDriver (137.0.7151.5500)
  • Selenium.WebDriver.GeckoDriver (0.36.0)
  • DotNetSeleniumExtras.WaitHelpers (3.11.0)
  • Selenium.WebDriver.IEDriver (4.14.0)
  1. Criação das Pastas

image

  • "BasePage": Pasta base do projeto, onde contém a URL
  • "Pages": Pasta onde ficarão organizadas as páginas da aplicação. (Com componentes e métodos)
  • "Tests": Pasta onde ficarão os testes. (Validações)
  1. Configurar a "BaseClass" com a URL base.
  2. Mapear os componentes na "Page" e criar os métodos/lógica que serão usados nas validações.
  3. Realizar a criação dos testes na página de testes.
  4. Criação da página "WebDriverElements" para concentrar métodos que serão utilizados em toda a aplicão.
  5. Os teste automatizados foram executados 10 vezes consecutivas e todos os testes foram bem sucedidos.

image

4.Casos de Teste:

  • TC01 - Validating the operation of selecting a sub-option in the Menu
  • TC02 - Validation of the attempt to send an empty form.
  • TC03 - Validation of the attempt to send an invalid form.
  • TC04 - Validation of the attempt to submit the form without checking the Recaptcha.

About

Automated tests for the Home Page of the Starta website.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages