GithubHelp home page GithubHelp logo

appium-setup's Introduction

appium-setup

appium_env.sh is a Mac environment setup script that installs software needed to develop Appium acceptance tests in the language of your choice.

Prerequisites

  • Xcode, along with Command Line Tools

If you want to develop Android tests, you also need:

  • Android SDK
  • Make sure JAVA_HOME is set (add export JAVA_HOME="/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home" to your .bash_profile)
  • Make sure ANDROID_HOME is set (add export ANDROID_HOME="/path/to/android/sdk" to your .bash_profile)
  • Add /path/to/android/sdk, /path/to/android/sdk/tools, and /path/to/android/sdk/platform-tools to your /etc/paths file (might have to do this with sudo)
  • Create an AVD (look into speeding up the emulator using VM acceleration for x86 AVDs) or use a real Android device to run tests on

Execute the script

Example usage:

./appium_env.sh [options]

Running the script with no options installs Appium software only (no language-specific software).

Options:

-h, --help   Prints usage.
-a, --all    Installs all software for all languages.
-f, --force  Ignores certains warnings to force continuation.
--no-source  Does not clone the appium source code.
--haskell    Installs Haskell software.
--ruby       Installs Ruby software.
--java       Installs Java software.
--obj-c      Installs Objective-C software.
--perl       Installs Perl software.
--php        Installs PHP software.
--python     Installs Python software.

What it installs

Appium

Haskell --haskell

Ruby --ruby

Java --java

Objective-C --obj-c

Perl --perl

PHP --php

Python --python

* Substitute this with the test framework of your choice.

After the script runs

  • Install Appium.app if you would like and have not done so already. It has a nice Inspector functionality that allows you to record actions and view elements.
  • Run git pull and then ./reset.sh --dev on ~/Documents/appium.

appium-setup's People

Contributors

linguinee avatar mortonfox avatar

Watchers

 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.