A robust Java-based automation testing framework leveraging TestNG, Selenium 4, Apache POI, and Log4j 2. Designed for extensibility and clarity in web automation testing and reporting.
- Group ID:
com.ngenuity - Artifact ID:
automation - Version:
2.0-SNAPSHOT - Packaging:
jar - Java Version: 17
- ✅ Selenium WebDriver (Chrome)
- ✅ TestNG XML Suite Support
- ✅ Logging via SLF4J and Log4j2
- ✅ Excel data-driven testing via Apache POI
- ✅ UTF-8 resource filtering and configuration
- ✅ Maven-based build with custom JAR manifest
automation/
├── src/
│ ├── main/
│ │ └── java/
│ │ └── resources/
│ └── test/
│ └── java/
│ └── resources/
│ └── testng.xml
└── pom.xml
mvn clean installMake sure testng.xml is configured in src/test/resources, then:
mvn test- Java 17
- TestNG
7.9.0 - Selenium 4 (
api,java,chrome-driver) - Apache POI
5.4.0(poi,poi-ooxml) - SLF4J
2.0.17and2.1.0-alpha1 - Log4j 2
2.24.3
The framework uses TestNG's XML suite configuration:
<suite name="AutomationSuite">
<test name="SampleTests">
<classes>
<class name="com.ngenuity.tests.YourTestClass"/>
</classes>
</test>
</suite>Place this in:
src/test/resources/testng.xml
- Excludes
.xlsxfiles from resource bundling - Supports filtered resource injection via
src/main/resources - JVM memory args:
-Xmx2048m -XX:MaxPermSize=512m
Everett Aknowledge
Built with precision, purpose, and the spirit of clean code.
This project is licensed under your preferred open license. (MIT, Apache 2.0, etc.)
You can add it to the LICENSE file manually.
“Quality control from the source to my soul. Bring the light everywhere we go.” – Homeliss Derilex