Skip to content

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.

PerfectoMobileSA/PerfectoEspressoProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published