This document provides all the pre-requisites, setup data and tools needed for running the automated tests.
Create Office:
- Name: QA Office
Create User 1 (Broker):
- Name: User Broker
- Role: Broker
- Office: QA Office
- Email address: [email protected]
Create User 2 (Office Admin):
- Name: User Office Admin
- Role: Office Admin
- Office: QA Office
- Email address: [email protected]
Add Deal Approval Workflow:
- Select QA Office
- Add Approver: User Office
Franchise Information:
- Franchise fee: 2%
Deal Default settings:
- Office settings
- Office: QA Office
- Lease Rate Type: Per Year
To run the automated tests one should install Visual Studio.
After installing Visual Studio, one should install Specflow extension on Visual sudio
Steps to install Specflow:
- Open Visual Studio
- Click Extensions on top menu bar of Visual Studio
- Click Manage Extensions on the dropdown menu
- Click Online on the left of the pop up displayed
- Search for Specflow on far right search input field
- Download Specflow for Visual Studio 2019
How to run a single scenario:
- Open Visual Studio
- Click View on top menu bar of Visual Studio
- Click Text Explorel
- Build solution
- On the Test Explorel select the scenario you want to run
- Click run or Ctrl + R, T
How to run all tests:
- Open Visual Studio
- Click View on top menu bar of Visual Studio
- Click Text Explorel
- Build solution
- On the Test Explorel click run all button or Ctrl + R, V
How to run all tests on powershell:
- Open Windows Power Shell
- Navigate to the automation project folder
- Use command: dotnet test