This project will demonstrate ui automation of jquery ui datimetime picker using selenium webdriver and junit with google pageFactory support.
git clone https://github.com/jagdeepjain/datetimepicker-ui-test.git
Assuming you have jdk 1.6 or later and maven installed.
Firefox browser version 36.1 or less.
Execute below command from root directory.
mvn clean test
OR
mvn clean test -Dtest=<testName>
https://travis-ci.org/jagdeepjain/datetimepicker-ui-test/
- User can pick dates and add to test according date and time will be picked up from calender.
- Package has screenshot maker, if junit test fails this class will create a screen shot of the failure screen which you can look into target/surefire-reports folder.
- Common package can be used as it is.
- Writing page objects and tests is simple.
- BaseTest class will set infrastructure for testing work.
- Page object has services defined as methods which mocks the user.