appium-java-examples
appium-java-examples copied to clipboard
Learn Mobile Test Automation for Android and iOS using Appium with Java
Don't forget to give a :star: to make the project popular.
:question: What is this Repository about?
- This repository contains the example code for running Android Mobile Automation tests using Appium 2.0
- WebdriverIO demo app is used as a demo mobile application run tests
- This repo uses
Mavenas build tool andTestNGtesting framework to run the tests.
Talking more about the Scenarios Covered in this project:
- I have tried to answer the below questions by providing working code example in this repo:
- How to start Appium Server Programmatically?
- How to stop Appium Server Programmatically?
- How to run mobile automation tests on Android Emulator?
- How to locate elements using Appium?
- How to click on an element using Appium?
- How to check attribute of an element using Appium?
- How to type values in a text field?
- How to perform assertions?
How to run the Tests?
Pre-Requisite:
- JAVA JDK 11 should be installed
- Android Emulator should be created in local machine and should be in running state
- For running iOS tests, iOS Simulator needs to be started and should be in running state
:movie_camera: Tutorial for Installing Android Studio on Windows 10
-
Run the tests using
TestNG:Right click on
test-suite\testng.xmland selectRun test-suite\testng.xml -
Run the tests using
Maven:mvn clean install
:writing_hand: Blog Links
- Beginner’s Guide to Appium 2.0
- Appium 2 Migration Guide: Migrating From Appium 1.x To Appium 2.x
- How To Automate ServiceNow With Appium
- Complete Tutorial On Appium Parallel Testing- [With Examples]
- React Native Testing For Apps On iOS And Android Using Appium
- How to Choose Mobile Devices for Testing
- What is an Android Emulator? How to Start and use it?
- How to start Appium Server Programmatically?
- Guide to Mobile Testing
- Inspecting elements of an app using Appium Inspector and BrowserStack!
:question: Need Assistance?
- Discuss your queries by writing to me @
[email protected]OR ping me on any of the social media sites using the below link:
:computer: Paid Trainings
Contact me for Paid trainings related to Test Automation and Software Testing,
mail me @ [email protected] or ping me on LinkedIn
