Code Monkey home page Code Monkey logo

test-automation-framework's Introduction

Unified Test Automation Framework (UTAF)

The main purpose of this project is to combine base functionality implementation (driver creation, capabilities setting, etc) for mobile and web platforms in one universal solution.

Getting Started

Installing

Java JDK

Android SDK tools

  • Download SDK from Android SDK.
  • Run the android tool (included in the SDK/tools folder) and make sure an API Level 17 or greater SDK platform, Google Driver, SDK Tools and SDK platform-tools are installed.

Set environment variables :

For Windows -> System properties

  • Set JAVA system env. variable to JDK's bin folder

  • Set JAVA_HOME system env. variable to JDK folder

  • Add %JAVA_HOME%\bin to PATH variable.

  • Set ANDROID_HOME system env. variable to Android SDK folder (e.g. "C:\Users\User\AppData\Local\Android\sdk")

  • Add the "...\sdk\platform-tools" and "...\sdk\tools" to the PATH variable.

For MacOS -> ~/.bash_profile :

export JAVA_HOME="$(/usr/libexec/java_home)"
export ANDROID_HOME=/Users/hanna_kokhanava/Library/Android/sdk
export PATH=${PATH}:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools:$JAVA_HOME$

Git

Download and install Git

Node

Download and install NodeJS

Appium

Download Appium using one of the following options:

  • Latest version :
npm install -g appium
  • Specific version :
npm install -g [email protected]

Appium Desktop

Download and install Appium

IntelliJ IDEA

Download and install Community Edition

Genymotion

DHCP problem - https://www.genymotion.com/help/desktop/faq/#category-virtualbox

INSTALL_FAILED_NO_MATCHING_ABIS - http://aksahu.blogspot.com/2016/09/how-to-fix-installfailednomatchingabis.html

Tips

To get information about the name of the package and the first activity that has to be launched for the testing

  1. Browse through the SDK folder -> Build-Tools -> Version folder
  2. Open cmd and execute command ./aapt dumb badging "path_to_apk"
  3. Find package (in the beginning of logs) and launchable-activity parameters

Links

Appium server arguments - Appium CLI

Default capabilities JSON - --default-capabilities

Authors

Hanna Kokhanava - God of the UTAF

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.