Git Product home page Git Product logo

quickstart-appium-webdriverio's Introduction

Running Appium Tests on Sauce Labs Platform

...

Important information

Environment variables for Sauce Labs

The examples in this repository that can run on Sauce Labs use environment variables, make sure you've added the following

# For Sauce Labs Real devices in the New UI
export SAUCE_USERNAME=********
export SAUCE_ACCESS_KEY=*******

Demo app(s)

The Native demo app that has been used for all these tests can be found here. There are three apps:

Install Node Modules

Clone this repo onto your local machine. You will need to run npm install from the root folder.

Upload apps to Sauce Storage

Navigate to https://app.saucelabs.com/live/app-testing and upload the correct app file (from above) according to the environment you want to test in. You can find the apps for uploading in this project inside of the /apps directory

Run Native App tests on Sauce Labs Android emulators in the Sauce Labs Platform

If you want to run the Native Android App tests on Sauce Labs emulators then you can run the Android tests with

// If using the US DC
npm run test.android.sauce.emu.us

// If using the EU DC
npm run test.android.sauce.emu.eu

The tests will be executed on a Google Pixel 3 GoogleAPI Emulator.

Run Native App tests on Sauce Labs Android real devices in the Sauce Labs Platform

If you want to run the Native Android App tests on Sauce Labs real devices then you can run the Android tests with

// If using the US DC
npm run test.android.sauce.real.device.us

// If using the EU DC
npm run test.android.sauce.real.device.eu

The tests will be executed on a (Samsung Galaxy S(7|8|9|10|20|21).)|(Google Pixel.), which means every available Samsung Galaxy or Google Pixel that matches this regular expression.

Run Native App tests on Sauce Labs iOS simulators in the Sauce Labs Platform

If you want to run the Native iOS App tests on Sauce Labs simulators then you can run the iOS tests with

// If using the US DC
npm run test.ios.sauce.sim.us

// If using the EU DC
npm run test.ios.sauce.sim.eu

The tests will be executed on a iPhone 12.

Run Native App tests on Sauce Labs iOS real devices in the Sauce Labs Platform

If you want to run the Native iOS App tests on Sauce Labs real devices then you can run the iOS tests with

// If using the US DC
npm run test.ios.sauce.real.device.us

// If using the EU DC
npm run test.ios.sauce.real.device.eu

The tests will be executed on an iPhone (11|12|13|X.)., which means every available iPhone that matches this regular expression.

quickstart-appium-webdriverio's People

Contributors

walkerlj0 avatar wswebcreation avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.