This automation project is developed as part of the recruitment process for the QA Analyst position at Spring Financial. The project aims to automate the testing of a Contact Us form.
The Contact Us form allows users to submit inquiries or feedback. This automation project ensures that the form functions correctly according to the specified business rules.
The following business rules are applied to the Contact Us form:
- First Name, Last Name, Email, and Comments fields are mandatory;
- First Name and Last Name must contain between 2 and 25 characters;
- Email address must adhere to international validation rules.
- test_scenarios.feature: Contains all the test scenarios written in Gherkin syntax.
- StepDefinitions.java: Implements the steps defined in the feature files using Selenium WebDriver and Java.
- Runner.java: Runs the Cucumber scenarios specified in the feature files.
-
Clone the repository to your local machine:
git clone https://github.com/pborgonovi/SpringFinancialAssignment.git
-
Install the necessary dependencies, including Selenium WebDriver and Cucumber.
-
Configure the project settings, such as browser configurations and test environment URLs.
- Ensure the project dependencies are installed and configured correctly.
- Execute the Runner.java file to run the test scenarios.
- Review the test results to ensure the Contact Us form functions as expected.