The test automation solution utilizes an open source test framework developed and maintained by A1QA. Source code is made available under the Apache 2.0 license. The framework helps normalize front end test development for Appium tests and apply best practices to test implementation, across platforms, mobile operating systems, devices versions and UIs. The framework uses classes to handle platform differences but keep test development “cross platform”.
Repository and Read-me documentation for Framework:
https://github.com/aquality-automation/aquality-appium-mobile-java
Readme:
https://github.com/aquality-automation/aquality-appium-mobile-java
Key Packages
...
Overview
This package is a library designed to simplify automation of Android and iOS mobile applications using Appium. The package can be easily added as maven dependency to your pom.xml. Framework contain all the needed classes to work with any common UI elements and their common actions. It also contains ability to log actions which could be performed in the tests. When you automate tests for both iOS and Android platforms it is good to have only one set of tests and different implementations of screens. ScreenFactory
allows to do this. You can define abstract classes for your screens and have different implementations for iOS and Android platforms. After that you can use ScreenFactory
to resolve a necessary screen depending on the chosen platform. The library allows you to run tests on different devices and store their settings (like udid, name, etc.) in JSON files. Using Framework you don't need to care about appium at all as the framework contains all the necessary actions/methods and classes to work with the UI of mobile apps. You just have to add the framework and start working on test cases.
Structure overview:
...