https://github.com/sharmadhiraj/appium-android-test-demo
Simple Appium Demo for UI testing of an Android app
https://github.com/sharmadhiraj/appium-android-test-demo
android appium appium-android appium-framework test-automation testing testing-tools ui-testing
Last synced: about 2 months ago
JSON representation
Simple Appium Demo for UI testing of an Android app
- Host: GitHub
- URL: https://github.com/sharmadhiraj/appium-android-test-demo
- Owner: sharmadhiraj
- Created: 2019-01-29T03:12:11.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-12-15T11:06:35.000Z (7 months ago)
- Last Synced: 2025-12-18T11:49:03.270Z (7 months ago)
- Topics: android, appium, appium-android, appium-framework, test-automation, testing, testing-tools, ui-testing
- Language: Java
- Homepage:
- Size: 24.9 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Appium Android Test Demo
This repository contains a simple Appium demo for performing UI testing on an Android app.
The demo includes tests to verify that a progress indicator is shown at the start of the application
and that a currency
exchange recycler view is displayed once the progress indicator disappears.
### Setup
Before running the tests, make sure you have the following dependencies installed:
- Node.js: Install Node.js (v20 or above) from [the official website](https://nodejs.org/).
- Appium: Install Appium globally using npm with the following command:
`npm install --global appium`
- UIAutomator2 Driver: Install the UIAutomator2 driver for Appium using the following
command: `appium driver install uiautomator2`
- IDE: This demo was developed using IntelliJ IDEA, but you can use any IDE of your choice.
### Running the Appium Server
Before running the tests, start the Appium server with the following
command:
`appium server --address localhost --port 4723 --use-drivers uiautomator2 --base-path /wd/hub`
This command starts the Appium server with the UIAutomator2 driver enabled and listens on port 4723.
### Running the Tests
To run the tests, simply execute the test class AppiumDemoTest using your IDE's test runner or your
preferred test
execution method.
### Demo

### Feedback and Queries
Feedback and queries are welcome. Feel free to open an issue or reach out with any questions
or suggestions.