Java language binding for writing Appium Tests, conforms to Mobile JSON Wire Protocol
Depends upon the Selenium Java client library, available here
Hosted in Maven Central Repository:
<dependency>
<groupId>io.appium</groupId>
<artifactId>java-client</artifactId>
<version>1.0</version>
</dependency>
Or, the compiled jar can be found in out/artifacts/java_client
###Added functions### More can be found in the docs, but here's a quick list of features which this project has added to the usual selenium binding.
- resetApp()
- getAppString()
- sendKeyEvent()
- currentActivity()
- pullFile()
- pushFile()
- hideKeyboard()
- runAppInBackground()
- performTouchAction()
- performMultiTouchAction()
- tap()
- swipe()
- pinch()
- zoom()
- getNamedTextField()
- isAppInstalled()
- installApp()
- removeApp()
- launchApp()
- closeApp()
- endTestCoverage()
- lockScreen()
- shake()
- complexFind()
- Context Switching: .context(), .getContextHandles(), getContext())
Locators:
- findElementByAccessibilityId()
- findElementsByAccessibilityId()
- findElementByIosUIAutomation()
- findElementsByIosUIAutomation()
- findElementByAndroidUIAutomator()
- findElementsByAndroidUIAutomator()