Coder Social home page Coder Social logo

appiumios's Introduction

Autotests iOS applications (Appium / iOS / Java).

The steps below guarantee the successful launch of autotests for your phone and application.

But I do not exclude that some steps may be superfluous, maybe I myself installed something in surplus :)

Installation

Device (iPhone)
  1. Install the application server on the phone WebDriverAgent
  2. Add a valid distribution certificate
  3. Select the WebDriverAgentRunner scheme -> Real Device -> Build (โŒ˜B)
  4. Connect the phone and run the tests. Open Product -> Test (โŒ˜U)
MacBook (terminal):
$ brew install node
$ npm install -g [email protected]
$ npm install npm@latest -g
$ brew install ideviceinstaller
$ brew install carthage
$ npm install -g ios-deploy
To check the correct installation
$ appium-doctor

All components must be successfully installed and marked with a green mark, except for Android components.

  • Build the project in Java / Python or other languages that support Appium / iOS (do not forget to install the libraries: apache, selenium, appium)
    • In the project add information about the connected phone (name, udid, version, platform) and the path to the assembled application that will be tested.
Everything is ready to test your application:
  1. On the phone, a test (active session) must be started. WebDriverAgent
  2. In the console execute: appium --session-override
  3. Build and run the project
  4. Done, enjoy autoscrolls and autoclicking :)

Supporting resources

Resource Website
WebDriverAgent - official repository plugins/googledrive/README.md
WebDriverAgent - article instruction Getting Started with Automated iOS Testing
Good video tutorial How to inspect iOS element using Xcode

appiumios's People

Stargazers

alwaleed_1989 avatar

Watchers

Anton Makarov 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.