Giter Club home page Giter Club logo

wdio-tests's Introduction

wdio-tests

WebDriverIO tests with Appium Service This should now ideally run on Windows, Mac and Linux

Changes needed

Change the wdio.conf.js to include your desired capabilities.

capabilities: [
    {
        browserName: '',
        appiumVersion: '1.8.1',
        deviceName: 'Infinix X573',
        deviceOrientation: 'portrait',
        platformVersion: '8.0.0',
        platformName: 'Android',
        app: 'https://github.com/rahulmr/wdio-tests/blob/master/ApiDemos-debug.apk?raw=true',
        waitforTimeout: 30000,
        commandTimeout: 30000
    }
],

Notes

  1. For Android Apps, you can add appPackage and appActivity
  2. wdio.conf.js appium arguments like command is specified due to bug in wdio-appium-service
  3. appium-controller works fine but it was easy to use wdio-appium-service to start appium
  4. appium-controller is used in package.json scripts to stop appium as appium is not automatically stopped after reply on windows. This may be dependent upon the commandtimeout parameters
  5. Added docs folder for sample report generated using wdio-mochawesome-reporter, [email protected] and [email protected]
  6. To access report visit here
  7. APIDemos-debug.apk is accessed from internet that is github site so internet is required.
  8. In case, you are using the app option for local path, provide absolute path to the apk file. Like 'D:\\Automation\\wdio-tests\\APIDemos-debug.apk' or '/tmp/APIDemos-debug.apk'

wdio-tests's People

Contributors

rahulmr avatar

Stargazers

 avatar

Watchers

 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.