Web and Mobile Automation testing framework based on Spring - Webdriver - Appium in Java.
This is a Java Framework based on WebDriver API to interact with web or mobile applications for performing automated functional tests.
******Javadoc: http://giannispapadakis.github.io/seletest/ ******
Web End to End functional | Supported |
DB transactions tests | Not supported yet... |
Client performance tests | Supported |
Mobile End to End functional | Partially supported (Android) |
Web Security tests | Upcoming |
Frameworks - tools:
- Selenium 2 in Java
- TestNG JUnit framework
- Spring Java Framework
- ReportNG
- Appium Java client
- Apache Maven
- AspectJ
- Browsermob-proxy
Current Drivers supported:
- ChromeDriver
- InternetExplorerDriver
- FirefoxDriver
- SafariDriver
- OperaDriver
- PhantomJSDriver
- AppiumDriver (IOSDriver-AndroidDriver)
Features:
- Fluent logging mechanism and error handling using AspectJ support with advices
- Interaction with Page Objects and Page Facades using hard or soft assertions
- Asynchronous execution of verifications with Spring Task Async Executors covering dynamic pages (AngularJS)
- Appium support with custom TouchAction API for interaction with Android devices-emulators
- JS errors collection during execution of tests
- JVM memory usage with JMX client
- HAR file with network traffic logs using browser-mob proxy that can be analyzed in online tools like https://code.google.com/p/harviewer/
- Custom JQuery selector replaces CSS pseudo-classes support in WebDriver (:contains('') / nth-child)
- Custom Angular selectors (Upcoming)
Tips for Internet Explorer execution
On IE 7 or higher on Windows Vista or Windows 7, you must set the Protected Mode settings for each zone to be the same value. The value can be on or off, as long as it is the same for every zone. To set the Protected Mode settings, choose "Internet Options..." from the Tools menu, and click on the Security tab. For each zone, there will be a check box at the bottom of the tab labeled "Enable Protected Mode".
Additionally, "Enhanced Protected Mode" must be disabled for IE 10 and higher. This option is found in the Advanced tab of the Internet Options dialog.
Released versions
Seletest has been uploaded in sonatype nexus.
Add this to your pom.xml:
Under <project> tag
Under <dependencies> tag:
See wiki for setting up Spring Maven Project and running first tests
You are very welcome to contribute to the project
Upcoming:
- Set up Appium Server on Windows 7 and run test against android emulator
- Set up Selenium Grid server and register a node
- Use seletestUtils project to automate remote appium-selenium node configuration