TestFramework (a.k.a Pledgetester )
A starter Java + Selenium WebDriver based automated test framework, designed to support continuous integration testing of web applications.
Setup Requirements
Maven
Firefox (latestversion)
Java (latest version)
POM configured for the following versions
selenium-firefox-driver - 2.48.0
selenium-chrome-driver - 2.48.0
The Basics
The nomenclature of this test framework is as follows:
####Common package
- Includes test driver and utility setup to extend to test class.
####Page package
- Build and define the application under test page. This includes DOM elements mapped by ID, name or XPath (preferred).
####Test package
- Holds test logic and extends drivers from Common package.
####Resource directory
- Include key test resource needs, like environment URLs or test data variables, to implement at runtime.
How To
To use, run mvn -clean install
from local directory. You can run individual test classes by using Surefire's plugin with Maven, like so: mvn -Dtest=[CLASS NAME] test
.