Enterprise-grade Selenium Test Automation Framework built using Java, Selenium WebDriver, TestNG, Maven, Jenkins, Docker, Extent Reports, and Log4j2.
- Prepared By: Mr. Baivab Sarkar
- Mentor/ Trainer: Mrs. Vaishali Sonanis
The BlazeDemo Flight Booking Automation Framework is a scalable, maintainable, and enterprise-ready test automation solution developed as part of the Wipro Capstone Project.
The framework automates the complete flight booking workflow of the BlazeDemo web application while following industry-standard automation design principles such as:
- Page Object Model (POM)
- Data-Driven Testing
- Cross-Browser Testing
- CI/CD Integration
- Containerized Test Execution
- Automated Reporting & Logging
Application Under Test:
The framework validates the complete end-to-end booking journey:
- Home Page Validation
- Departure and Destination Selection
- Flight Search
- Flight Selection
- Passenger Information Entry
- Payment Information Submission
- Booking Confirmation Validation
- Negative Testing Scenarios
- Login & Registration Validation
| Category | Technology |
|---|---|
| Language | Java 17 |
| Automation Tool | Selenium WebDriver 4 |
| Test Framework | TestNG |
| Build Tool | Maven |
| Design Pattern | Page Object Model (POM) |
| Reporting | Extent Reports |
| Logging | Log4j2 |
| Test Data | Excel (Apache POI) |
| CI/CD | Jenkins |
| Containerization | Docker |
| Version Control | Git & GitHub |
BlazeDemo
│
├── src/test/java
│ ├── base
│ ├── listeners
│ ├── pages
│ ├── testcases
│ └── utilities
│
├── src/test/resources
│ ├── config
│ ├── testdata
│ └── log4j2.xml
│
├── reports
├── screenshots
├── Jenkinsfile
├── Dockerfile
├── pom.xml
├── testng.xml
└── testng-negative.xml
All web elements and page actions are separated from test logic, ensuring:
- Better maintainability
- High reusability
- Easy scalability
- Reduced code duplication
Test data is maintained externally using Excel files.
Supported validations:
- Multiple passenger records
- Different city combinations
- Multiple payment datasets
Extent Reports provide:
- Execution summary
- Test status
- Screenshots
- Execution timestamps
- Failure details
Generated Report:
reports/ExtentReport.html
Log4j2 implementation captures:
- Browser launch events
- Test execution flow
- Validation checkpoints
- Failure information
Log File:
log/automation.log
Automatic screenshots are captured:
- On failures
- During booking confirmation
- For reporting evidence
✔ Home Page Validation
✔ Flight Search Validation
✔ Flight Selection
✔ Purchase Form Submission
✔ Booking Confirmation Validation
✔ Blank Passenger Information
✔ Invalid Payment Data
✔ Invalid Credit Card Information
✔ Invalid Expiry Month
✔ Invalid Expiry Year
✔ Login Failure Validation
✔ Registration Failure Validation
The project successfully identified multiple application defects including:
| Defect ID | Description |
|---|---|
| BLAZE-7 | Booking succeeds with blank fields |
| BLAZE-8 | Missing input validation |
| BLAZE-9 | Invalid month accepted |
| BLAZE-10 | Expired year accepted |
| BLAZE-11 | Mandatory fields not marked |
| BLAZE-12 | Credit card length validation missing |
| BLAZE-13 | Login/Registration returns HTTP 419 |
| Metric | Result |
|---|---|
| Executed | 12 |
| Passed | 12 |
| Failed | 0 |
| Success Rate | 100% |
| Metric | Result |
|---|---|
| Executed | 3 |
| Passed | 3 |
| Failed | 0 |
Jenkins Pipeline Stages:
Checkout
↓
Build
↓
Compile
↓
Test
↓
Docker Build
↓
Docker Run
↓
Post Actions
Benefits:
- Automated execution
- Continuous validation
- Faster feedback cycle
- Deployment-ready workflow
Framework is fully containerized using Docker.
Build Image
docker build -t blazedemo-framework .Run Container
docker run --rm blazedemo-frameworkgit clone https://github.com/ThisIs-Developer/Wipro-Capstone-Project.gitmvn clean installmvn testmvn test -DsuiteXmlFile=testng-negative.xmlUpdate:
src/test/resources/config/config.propertiesExample:
browser=chrome
url=https://blazedemo.com/Supported Browsers:
- Chrome
- Firefox
- Edge
- Enterprise-level framework architecture
- 100% execution success rate
- End-to-End automation coverage
- Jenkins CI/CD integration
- Docker containerization
- Detailed reporting and logging
- Defect identification and tracking
- Scalable and maintainable design
This project is developed for educational and demonstration purposes as part of the Wipro Capstone Project.