Giter Club home page Giter Club logo

appium-ios-example's Introduction

appium-ios-example

This framework, as it is, no longer includes the .app to test with, I have left the code as I felt that it may still be helpful to many.

Until I have another useful app to demonstrate Appium on iOS, I will leave this up.

Assumptions...

  1. You are not 100% new to Ruby, iOS or Cucumber
  2. You have the necessary iOS tools in place and installed (i.e. XCode, Command Line Tools and some Simulators)
  3. You are aware of RVM (or similar tools)

What this is / What's included....

  1. A well put together Appium framwork for testing iOS apps.
  2. Follows, generally, good Ruby and general automation practices.
  3. An idea of how a framework can be setup to handle a real world app.
  4. Some basic reporting, profile and device handling.
  5. A good way to see how elements can be located in Appium (I have deliberately used as many types as I could)
  6. A good example to see RSpec expectations in action.
  7. Good use of the Page Object Model
  8. Demonstrable use of the Ruby 'appium_lib'

What this is not...

  1. An all-in-one super duper framework.
  2. Something that you can 100% copy over for any app (though I suspect you'd be able to use most, as is).

Known limitations...

  • Will not handle the automatic start/stop of the Appium service.
  • Will not handle Simulator/Device 'issues'.
  • This framework will not magically resolve GPS issues.
  • Hard coded to use Appium default launch arguments.

Want more?

Drop me an email, [email protected] for any comments, suggestions, etc.

Instructions/Config required prior to use...

I like to use RVM to get my house in order...

  1. cd into appium-ios-example/
  2. rvm use ruby-2.3.0
  3. rvm gemset create appium-ios-example
  4. rvm gemset use appium-ios-example
  5. gem install nokogiri -v '1.8.1'
  6. bundle install

Then...

In the env.rb, set the desiredCapabilities appropriately.

Example command...

cucumber features/basic_ios.feature -p html_report

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.