Skip to content
Appium Java Automation wrapped just for you!
Java
Branch: master
Clone or download
aldochristiaan Develop (#2)
* Update salad method and add espresso

* Update some modules for espresso

* Reformat code

* Add multiple mobile native command

* Change scroll

* Change param to elementLocator

* Add getText with index

* addding set single capabilities (#3)

* Add more methods to espresso

* Revert multiple tap

* Generate random email (#4)

* Update faker version

* Add selected method

* Reduce swipe count and add scrollTo with index

* Add message param

* Remove error message

* Throw if element not found

* Change to notfoundelement

* Fix return type

* Change scroll to swipe

* Add stale check and update to java-client 7.2.0

* Add custom coordinate

* Modify swipe

* Add checked method

* Add checked method

* Add viewTag locator and add validate element with/contains text

* Add visible check and get Attribute

* Update gradle.yml (#5)

* Add missing library
Latest commit 5e4c1d2 Oct 7, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows Develop (#2) Oct 7, 2019
docs
gradle/wrapper Develop (#2) Oct 7, 2019
src/main/java/id/aldochristiaan/salad Develop (#2) Oct 7, 2019
.gitignore
LICENSE Initial commit May 20, 2019
README.md
build.gradle
gradlew
gradlew.bat It's all for you guys May 20, 2019
settings.gradle It's all for you guys May 20, 2019

README.md

Salad

Salad is an open source, cross-platform test automation wrapper based on Appium written in Java and use Page Object Pattern.

Prerequisites

  • Install Node.js 8+

  • Install JDK 8

  • Install Android SDK and AVD Emulators

  • Install Xcode and Simulators

  • Install appium

    $ npm install -g appium

    Check appium by running:

    $ appium -v

  • Install appium-doctor

    $ npm install -g appium-doctor

    Check your appium setup by running:

    $ appium-doctor

  • Install IntelliJ IDEA

  • You can use real device too!

Later you have to install several optional dependecies. But we are ready to rock now!

Environment Variable

To complete our setup you can define PATH for several libraries on our terminal profile e.g: .bashrc or .zshrc

Example:

export JAVA_HOME=$(/usr/libexec/java_home)
export ANDROID_HOME=/Users/<username>/Library/Android/sdk
export PATH=$JAVA_HOME/bin:$PATH
export PATH=$ANDROID_HOME/platform-tools:$PATH
export PATH=$ANDROID_HOME/tools:$PATH
export PATH="/usr/local/bin:$PATH"

Build

Run ./gradlew shadowJar to get jar libs.

Check output folder build/libs/salad-<version>.jar

How to use this library

Open HOW-TO to start implement this library on your project

You can’t perform that action at this time.