⭐ to make the project popular.
Don't forget to give a ❓ 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
Maven
as build tool andTestNG
testing 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 running.
-
Run the tests using
TestNG
:Right click on
test-suite\testng.xml
and selectRun test-suite\testng.xml
-
Run the tests using
Maven
:mvn clean install
✍️ Blog Links
- 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!
❓ Need Assistance?
- Discuss your queries by writing to me @
mohammadfaisalkhatri@gmail.com
OR ping me on any of the social media sites using the below link:
💻 Paid Trainings
Contact me for Paid trainings related to Test Automation and Software Testing,
mail me @ mohammadfaisalkhatri@gmail.com
or ping me on LinkedIn