This repository holds of the automated tests for https://rahulshettyacademy.com/AutomationPractice/
- Make sure to have .NET 6.0 installed.
- Make sure you have the browsers in which you want to run the tests.
- Launch a Web Application from Visual Studio, making sure to select the desired Solution:
- You can run the tests from the Test Explorer sale.
- You can change the browser on the file Config/Enviroment.json
- Alternatively, you can open the Command Prompt (CMD), navigate to the solution folder and run these commands:
dotnet test --verbosity:d
** For a specific browser you should use:
SET DriverType=Firefox
dotnet test --verbosity:d
** For a specific test you can use:
dotnet test --verbosity:d --filter DisplayName="Task 5"
- You can check the dotnet test.