PerfectoMobileSA / PerfectoEspressoProject

A publicly available Android Sample app example project along with advanced Perfecto configuration file. It has some sample espresso tests. Kindly do not delete this as it is integrated with confluence.

Home Page:https://developers.perfectomobile.com/display/PD/Espresso

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Espresso + Perfecto execution steps:

  • Clone this project and unzip it.

  • Open a command-line/terminal window, navigate to the project's folder and run the following tasks in gradle to build the apk files:

    cd PerfectoEspresso
    ./gradlew assembleDebug assembleAndroidTest

  • Run the below gradle task to run Espresso tests on real devices:

    ./gradlew perfecto-android-inst -PconfigFileLocation=configFile.json -PcloudURL=${url} -PsecurityToken=${securityToken}

  • Run the below gradle task to run Espresso tests on virtual devices:

    ./gradlew perfecto-android-inst-vd -PconfigFileLocation=configFile.json -PcloudURL=${url} -PsecurityToken=${securityToken}

Note:

  1. Replace ${url} with your perfecto cloud url. E.g.: demo.perfectomobile.com (without the .app notation)
  2. Replace ${securityToken} with your perfecto security token.

About

A publicly available Android Sample app example project along with advanced Perfecto configuration file. It has some sample espresso tests. Kindly do not delete this as it is integrated with confluence.

https://developers.perfectomobile.com/display/PD/Espresso


Languages

Language:Java 92.9%Language:Kotlin 7.1%