Skip to content

Izocel/Appium-Boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Appium Boilerplate

Project and documentation based on

Boilerplate project to run Appium tests together with WebdriverIO for:

  • iOS/Android Native Apps
  • iOS/Android Hybrid Apps
  • Android Chrome and iOS Safari browser

Note

This boilerplate is for Webdriver V8 where the tests are written with async/await and TypeScript.

This boilerplate only handles local execution on 1 em/simulator at a time, not parallel execution.

For more info about that Google on setting up a grid with Appium.

Important

This boilerplate uses the WebdriverIO native demo app which can be found here.

Based on

This boilerplate is currently based on:

  • WebdriverIO: 8.x
  • Appium: 2.x

Installation

  1. Clone this project
gh repo clone Izocel/Appium-Boilerplate
  1. Install all dependencies
npm install

Tip

When running test in a cloud, you don't need Appium installed on you local machine.

Use the appium-installer package:

  • Setup Appium on your local machine. install appium server
  • If you've already a react-native environement setup (recommended) skip next step.
  • Configure Android Emulators/ iOS Simulators. install environements
  1. Import the application files (.apk / .ipa) inside apps/WdioDemoApp/ respective folders.

  2. Copy and asjust the configuration file (configs/configs.ts) regarding the simulator or real device you are using.

  3. Running tests locally

    • Android App: npm run test-android
    • iOS App: npm run test-ios

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published