Skip to content

QualityWorksCG/qualityworks-mobile-automation-demo

Repository files navigation

README

Getting Started

What is this repository for?

  • Proof of Concept
  • Mobile ☎️ testing using Node, Appium, and Sauce Lab/Local Simulator/Native

How to get set up

  • Configuration 🔧

    • Install appium gloablly

      • $ npm install -g appium
    • Install webdriver.io gloablly this will be our appium client

      • $ npm install -g webdriverio@3.4.0
    • Clone Project

      • $ git clone {this project}
      • $ cd qualityworks-mobile-automation-demo
    • Get Dependencies

      • $ npm install
    • Upload application for testing

      • $ curl -u <USERNAME>:<YOUR_ACCESS_KEY> -X POST -H "Content-Type: application/octet-stream" "https://saucelabs.com/rest/v1/storage/<USERNAME>/TestApp.app.zip?overwrite=true" --data-binary @<Path to App .zip in the app folder of testApp>
    • Get & Start Sauce Connect - Manual (RECOMMENDED)

    • Get & Start Sauce Connect - NPM (In Progress) 🚧

      • $ npm get-sauce-connect
  • How to run tests 🎉

    • Sauce Lab

      • $ wdio wdio.saucelab.conf.js
    • Locally - Simulator

      • $ appium & #start appium
      • $ wdio wdio.local.conf.js
    • Native

      • Depenpencies
        • Phone must be connected and unlocked
        • Edit wdio.native conf.js depending on the device being used. Device info: Xcode > Window > Decives
        • udid,bundleId,and deciveName in capabilities must match to your Device
      • $ appium & #start appium
      • $ wdio.native.conf.js

Helpers

Contribution guidelines

  • Writing tests
  • Code review
  • Other guidelines

Who do I talk to?

  • Repo owner or admin
  • Other community or team contact

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published