-
Create New Project: "Unit Test Project (.NET Framework) A project that contains MSTest unit tests. (C#, Windows, Test) .NET Framework Version: 4.7.2
-
NuGet Packages:
- 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)
- Criação das Pastas
- "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)
- Configurar a "BaseClass" com a URL base.
- Mapear os componentes na "Page" e criar os métodos/lógica que serão usados nas validações.
- Realizar a criação dos testes na página de testes.
- Criação da página "WebDriverElements" para concentrar métodos que serão utilizados em toda a aplicão.
- Os teste automatizados foram executados 10 vezes consecutivas e todos os testes foram bem sucedidos.
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.


