This project contains automated test scripts for the CitiusTech website, focusing on the Contact Us page and homepage functionality.
This is a Selenium-based web automation project that automates the following:
- Landing on the CitiusTech homepage
- Navigation to the Contact Us page
- Various interactions and validations on both pages
src/test/java/
├── web_automation/
│ ├── citiusTech/
│ │ ├── base/ # Base test classes
│ │ ├── pages/ # Page Object Model implementations
│ │ └── tests/ # Test cases
│ └── commons/ # Common utilities and base classes
├── config/ # Configuration files
└── reports/ # Test execution reports
- Java JDK 8 or higher
- Maven 3.6 or higher
- Chrome browser
- ChromeDriver (automatically managed via WebDriverManager)
- Clone the repository
- Install dependencies:
mvn clean install
- Run tests:
mvn test
- Page Object Model (POM) design pattern
- ExtentReports for detailed test reporting
- Self-healing capabilities using Healium
- Comprehensive logging system
- Chrome browser automation
- Test data management
TestBase: Core test base class with setup and teardownCommonTestBase: Common utilities and methods
HomePage: Handles homepage interactionsContactUsPage: Handles contact us page interactions
- Homepage navigation
- Contact form validation
- UI element verification
- Form submission testing
Test execution reports are generated in the reports directory. The reports include:
- Detailed test execution status
- Screenshots of failures
- Performance metrics
- Browser logs
The project uses configuration files located in the config directory:
QA.properties: Contains environment-specific configurations
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.