https://github.com/ravifel/automatedtestingprojectstarta
https://github.com/ravifel/automatedtestingprojectstarta
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ravifel/automatedtestingprojectstarta
- Owner: ravifel
- Created: 2025-06-01T04:40:18.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2025-06-01T04:40:21.000Z (8 months ago)
- Last Synced: 2025-06-01T13:48:28.447Z (8 months ago)
- Language: C#
- Size: 7.81 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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:

- 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)
3. 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)
4. Configurar a "BaseClass" com a URL base.
5. Mapear os componentes na "Page" e criar os métodos/lógica que serão usados nas validações.
6. Realizar a criação dos testes na página de testes.
7. Criação da página "WebDriverElements" para concentrar métodos que serão utilizados em toda a aplicão.
8. 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.