Skip to content

fabdel123/blankFactorTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

39 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

run unit tests of feature BlankFactor

BlankFactor Automation Framework

Automated testing framework built with Java, Selenium WebDriver, Cucumber, and Maven, designed to validate the functionality of the BlankFactor website through maintainable and scalable practices.


πŸ“ Project Structure

blankfactor-automation/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ main/
β”‚   β”‚   β”œβ”€β”€ java/
β”‚   β”‚   β”‚   β”œβ”€β”€ pages/              # Page Object classes (HomePage, ContactPage, etc.)
β”‚   β”‚   β”‚   └── utils/              # Shared utilities (DriverFactory, ConfigReader, DataStore)
β”‚   └── test/
β”‚       β”œβ”€β”€ java/
β”‚       β”‚   β”œβ”€β”€ hooks/              # Test lifecycle hooks (Before, After)
β”‚       β”‚   β”œβ”€β”€ runners/            # Cucumber test runners
β”‚       β”‚   β”œβ”€β”€ stepdefinitions/    # Step definitions for Gherkin scenarios
β”‚       └── resources/
β”‚           β”œβ”€β”€ features/           # Gherkin .feature files
β”‚           └── config.properties   # Environment configuration

πŸ›  Tech Stack

  • Java 17+
  • Maven
  • Selenium WebDriver 4+
  • Cucumber 7+
  • WebDriverManager
  • JUnit 4
  • SLF4J (Logging)
  • (Optional: Allure / ExtentReports for reporting)

🚦 How to Run the Project

  1. Clone the repository:
git clone https://github.com/fabdel123/blankFactorTest.git
cd blankFactorTest
  1. Run tests with Maven:
mvn clean test

🌐 Configuration

All environment-specific values are stored in:

src/test/resources/config.properties

βœ… Features Automated

  • Accept cookies
  • Navigate to Industries > Retirement and Wealth
  • Scroll and capture the text of the third tile in the "Powering Innovation" section
  • Click on "Let's Get Started" and validate navigation to the Contact page
  • BlankFactor page, get the page URL
  • BlankFactor page, verify the page URL is correct "https://blankfactor.com/contact/"

πŸ’‘ Best Practices Applied

  • Page Object Model (POM)
  • Separation of concerns
  • Explicit waits over hardcoded sleeps
  • Assert-based validations
  • Centralized WebDriver management
  • Logging with SLF4J
  • Maintainable naming conventions (camelCase)

πŸ”§ Future Improvements

  • CI integration (GitHub Actions)
  • Reporting (Allure or ExtentReports)
  • Cross-browser testing support
  • Docker-based test execution

πŸ‘€ Author

FabiΓ‘n De La Rosa
QA Automation Engineer

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published