Giter Club home page Giter Club logo
AppiumTestDistribution photo

appiumtestdistribution Goto Github PK

repos: 22.0 gists: 0.0

Name: AppiumTestDistribution

Type: Organization

Bio: A tool for running android and iOS appium tests in parallel across devices... U like it STAR it !


ATD


Appium Parallel Execution for Android and iOS on Real Devices

Open Source Love Join the chat at https://gitter.im/saikrishna321/AppiumTestDistribution CircleCI GitHub stars PRs Welcome GitHub forks

CircleCI

Thanks for support

ATD ATD

ATD

Add the below dependencies in your pom.xml (Master)

Please make sure you have installed Appium v2.0 and appium-device-farm plugin

<dependency>
    <groupId>com.github.AppiumTestDistribution</groupId>
    <artifactId>AppiumTestDistribution</artifactId>
    <version>latest_commit</version>
</dependency>
<repositories>
        <repository>
            <id>jitpack.io</id>
            <url>https://jitpack.io</url>
        </repository>
</repositories>
 <dependency>
   <groupId>com.github.saikrishna321</groupId>
   <artifactId>AppiumTestDistribution</artifactId>
   <version>13.1.0</version>
 </dependency>

ReportPortal

Add LISTENERS=com.epam.reportportal.testng.ReportPortalTestNGListener to config.properties to send data to report portal.

Sample Tests

Clone the project (https://github.com/saikrishna321/PageObjectPatternAppium) If your application is cross-platform and you end up building a PageObjectPattern Framework. Then you can also run those tests across Android and iOS devices connected to the same Mac OSX Host.

(e.g. If you have 3 Android and 3 iOS devices connected to the same machine, you will be able to execute these tests parallel on both platforms)

Video log Prerequisites

  • Install ffmpeg. OSX
    • $ brew update
    • $ brew install ffmpeg
    • `
  • Install ffmpeg. windows

Runner

Videos will be logged for failure tests
VIDEO_LOGS="true" mvn clean -Dtest=Runner test 

Credits

Thanks to

Parallel Run

ScreenShot

FAQ

Q. Can I automate application which I already have installed/downloaded from App store?

A. With XCUITest framework, that is available from iOS version 9.3, it's possible to execute Native (WebViews content would not be reachable) application using its bundle id.

In order to get information about bundle id of pre-installed application:

  • connect device with application installed;
  • run ideviceinstaller -l or ideviceinstaller -l -u {udid of the device} in case more than one device connected to the host;
  • in the list - find name of the application followed by its bundle id.

After that, instead of app capability bundleId should be used with application's bundle id as a value. Since Appium still needs WDA to be built and deployed on the real device - valid certificate and provisioning profile will be needed. More information could be found here

In case the tests need to interact with WebViews and/or iOS version has no support of XCUITest - Appium would need instruments application which is in debug mode. It will not work with any application which is not in debug mode. Read more about it here

Q. Does this framework support running multiple iOS simulators?

A. Yes, currently Appium does support multiple simulators with latest 1.6.6.beta with Xcode9-beta.

Q. Unable to instrument application or instruments crashed on start up?

A. Below are few possible causes

  • (app/ipa) is not on debug mode.
  • (app) targeted to simulator will not work with real device and vice versa
  • Check device's developer option in settings.

Q. Unable to install application during automation?

A. A quick solution would be to try to install the application using "ideviceinstaller -i ipa_name". If that does not work, check app is built with a valid provisioning profile.

Q. Can I run tests on iOS app for which I have source code(e.g:"Wordpress") on real devices?

A. Yes, with a valid provisioning profile, this app can be installed on your device. (Note: The application must be signed with a valid developer certificate and your device should be added to the provisioning profile)

Organizations 💙

ThoughtWorks CeX Travelstart
ThoughtWorks Cex Travelstart
Jio India M800 Reward Gateway
Jio M800 Reward
dahmakan

License

AppiumTestDistribution is released under License: MIT

Copyright (c) 2023 AppiumTestDistribution

AppiumTestDistribution's Projects

appium-boilerplate icon appium-boilerplate

Boilerplate project to run WebdriverIO tests with Appium to test native applications on iOS and Android

appium-cdp-driver icon appium-cdp-driver

Appium CDP Driver is a W3C WebDriver that allows you to connect to chromium based android mobile browsers like chrome & samsung browser through any WebDriver client.

appium-device-farm icon appium-device-farm

This is an Appium 2.0 plugin designed to manage and create driver sessions on available devices.

appium-wait-plugin icon appium-wait-plugin

Plugin to automatically manage all element waits and enables to write wait-free appium tests.

appiumtestdistribution icon appiumtestdistribution

A tool for running android and iOS appium tests in parallel across devices... U like it STAR it !

atd-remote icon atd-remote

Simple Webserver to manage devices and start/stop appium server

teswiz icon teswiz

End-2-End framework for Native & Web Automation using Cucumber-jvm, Appium, Selenium WebDriver, Applitools & ReportPortal

wdio-appium icon wdio-appium

Boilerplate project to run WebdriverIO tests with Appium to test native applications on iOS and Android

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.