Code Monkey home page Code Monkey logo

appiumiosautomation's Introduction

Appium automation test for basic IOS app

Prerequsite

  1. Xcode 9.4.1 or later installed on your macOS
  2. Appium application( installed by GUI/ CMI)
    npm install -g appium
  3. Python - there are many ways to do this but i use brew for mac
    brew install python
  4. Appium-Python-Client
    pip install Appium-Python-Client
  5. pytest
    pip install -U pytest
  6. carthage
    brew install carthage
  7. DEMO IOS Application Find a demo app with source code to work with or build yours. in this case i used the demo app i found at https://www.appcoda.com

To run Code

  1. Install all the pre-requsite applications
  2. Copy files in this project
  3. Go to the /tests/
  4. Run
    pytest test_login.py

Improvements

This is just the basic from the tutorial at https://www.appcoda.com. There a number of things i can add to make this into a proper framework. As i get time and add the improvements i will remove from the list.

  1. Add a reporting framework ie Allure
  2. Reorder code in a page object model structure
  3. Multi ios device screen size support. extend code so it runs on different simulator ios device size
  4. Optional real device support
  5. Auto record screenshots of fails
  6. support for browserstack

Credits

i started this small project based on a tutorial by Lawrence Tan @ https://www.appcoda.com

appiumiosautomation's People

Contributors

folajimia avatar

Watchers

James Cloos 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.