This is a sample mobile automation project for testing the UI functionalities of Hepsiburada Shopping Android app.
Developed using Appium and Gauge framework.
This project is based on Page Object Model (POM) architecture.
- Real Android devices are used when running the tests.
This project requires the following software to run.
- Java 1.8 or above
- Note: Gauge works with Java 1.6 and above. This project uses Java 1.8
- Gauge
- Gauge Plugins
- Java plugin
- Can be installed using
gauge install java
- Can be installed using
- HTML Report plugin
- Can be installed using
gauge install html-report
- Can be installed using
- XML Report plugin
- Can be installed using
gauge install xml-report
- Can be installed using
- Java plugin
- Appium
- Download and install the latest Appium client
- Start Appium server by running this command
appium
- Appium server should now be available at http://127.0.0.1:4723/wd/hub
If you already have Maven installed, you can execute specs as:
mvn gauge:execute -DspecsDir=specs -Denv=default
You can find these environment variables in the env/ folder.
# This is a sample environment variable file
APPIUM_PLATFORM_VER=10
DEVICE_NAME=
DEVICE_UDID=
APP_PACKAGE=com.pozitron.hepsiburada
APP_ACTIVITY=com.hepsiburada.ui.startup.SplashActivity
PLATFORM_NAME=android
For testing with different phones other than the defined phone in properties files, change the DEVICE_NAME and
DEVICE_UDID to the corresponding values.