com.github.lwfwind.automation:android-automation-library

Support android ui automaton such as identify Toast and PopupWindow for appium

License

License

Categories

Categories

Auto Application Layer Libs Code Generators
GroupId

GroupId

com.github.lwfwind.automation
ArtifactId

ArtifactId

android-automation-library
Last Version

Last Version

2.2
Release Date

Release Date

Type

Type

jar
Description

Description

Support android ui automaton such as identify Toast and PopupWindow for appium
Project URL

Project URL

https://github.com/lwfwind/android-automation-library
Source Code Management

Source Code Management

https://github.com/lwfwind/android-automation-library

Download android-automation-library

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.lwfwind.automation/android-automation-library/ -->
<dependency>
    <groupId>com.github.lwfwind.automation</groupId>
    <artifactId>android-automation-library</artifactId>
    <version>2.2</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.lwfwind.automation/android-automation-library/
implementation 'com.github.lwfwind.automation:android-automation-library:2.2'
// https://jarcasting.com/artifacts/com.github.lwfwind.automation/android-automation-library/
implementation ("com.github.lwfwind.automation:android-automation-library:2.2")
'com.github.lwfwind.automation:android-automation-library:jar:2.2'
<dependency org="com.github.lwfwind.automation" name="android-automation-library" rev="2.2">
  <artifact name="android-automation-library" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.lwfwind.automation', module='android-automation-library', version='2.2')
)
libraryDependencies += "com.github.lwfwind.automation" % "android-automation-library" % "2.2"
[com.github.lwfwind.automation/android-automation-library "2.2"]

Dependencies

compile (3)

Group / Artifact Type Version
commons-cli : commons-cli jar 1.3.1
com.sun.mail : android-mail jar 1.5.5
com.sun.mail : android-activation jar 1.5.5

provided (1)

Group / Artifact Type Version
android » android jar 5.1.1_r2

Project Modules

There are no modules declared in this project.

Android-automation-library - a light, common android ui automaton library

Currently android uiautomator library doesn't support Toast and PopupWindow,this library used to support android ui automaton such as identify Toast and PopupWindow for Appium

  • Tags: Appium, uiautomator, Toast, PopupWindow, Automation, Test, Android

Features

  • Identify Toast and PopupWindow
  • Support HierarchyViewer on real device
  • Collect statistics of first application launch time and all activity OnCreate/OnStart/OnResume time
  • Collect all crash stack trace and logs

Usage

1. Add gradle dependency in target app
dependencies {
    compile 'com.lwfwind:android-automation-library:1.0'
}
2. Add one line in attachBaseContext method of Application class
    @Override
    protected void attachBaseContext(Context base) {
        super.attachBaseContext(base);
		
        //wind automation
		AutomationServer.install(this).enableStrictMode(true).enableCrashCatch(true).enableCollectDuration(true).setEmailTo("[email protected] [email protected]");
		
    }

Versions

Version
2.2
2.1
2.0
1.9
1.8
1.7
1.6
1.5
1.4
1.3
1.2
1.1
1.0