Skip to content

Parallel execution of two android devices using Selenium grid and Appium

Notifications You must be signed in to change notification settings

qileilove/AppiumWithGrid

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AppiumTestAutomation

This is implementation of PageFactory framework with Appium for Android device.

Current framework provide basic implementation of PageFactory frame and demonstrated on native android application.

Prerequisite

  1. Android SDK
  2. Appium
  3. Maven (For managing dependencies)
  4. Eclipse
  5. Selenium Standalone (http://goo.gl/cvntq5)

Installation

  1. Install from git

  2. Before installation run selenium hub using

    • java -jar selenium-server-standalone-2.XX.0.jar -role hub)
  3. Run two server instance of appium servers, each pointing to separate android devices

    • Launch appium from comman line (run from source), node . -p 6001 -p 5001 -U <Device 1> -nodeconfig /nodeconfig_device1.json node . -p 6002 -p 5002 -U <Device 2> -nodeconfig /nodeconfig_device2.json

    • Launch appium from comman line, appium -p 6001 -p 5001 -U <Device 1> -nodeconfig /nodeconfig_device1.json appium -p 6002 -p 5002 -U <Device 2> -nodeconfig /nodeconfig_device2.json

  4. Run "mvn clean test" from project directory

Script Description

  1. AppiumApiDemoAppTests:

    • apk Name: ApiDemos-debug.apk
    • apk Location: /src/test/resources
    • Type of Application: Native
    • Gesture Simulated: Swipe/Scroll

About

Parallel execution of two android devices using Selenium grid and Appium

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%