Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Appium Client Side + Nightwatch

Client Side Test Execution

Setup

  • Install Gulp

    npm install -g gulp
  • Install NPM Dependencies

    npm install
  • Add your apiKey to ./.credentials.json

    Create a file called ".credentials.json" in the project's root and add your testdroid apiKey to it as described below:

    {
        "apiKey": "YOUR_TESTDROID_CLOUD_APIKEY"
    }
  • Modify the nightwatch.json-file according to your project

Run

  • To run the test on iOS

    gulp ios
  • To run the test on Android

    gulp android

Server Side Test Execution

Setup

  • Create a zip file to be uploaded to Testdroid
    • If you have Gulp installed, run the following command at the project's root folder:

      gulp zip

      This creates a zip-file of the project to the "dist"-folder.

    • Zip the project manually

Run the test

On Bitbar Cloud:

  • Create an Appium server side project

  • Create a new testrun in new server side project

  • Upload tested application (apk/ipa) through the “Application” step

  • Upload the zip with scripts through the “Upload test file” step

  • Choose device group to use or create a new group for this run

  • Start testrun