Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pomidorum1989/java-appium-local
Basic framework for running iOS and Android based tests in parallel
https://github.com/pomidorum1989/java-appium-local
android appium gradle ios parallel selenium testng
Last synced: 5 days ago
JSON representation
Basic framework for running iOS and Android based tests in parallel
- Host: GitHub
- URL: https://github.com/pomidorum1989/java-appium-local
- Owner: pomidorum1989
- Created: 2024-07-24T03:30:02.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2024-08-04T22:22:39.000Z (5 months ago)
- Last Synced: 2024-11-02T03:23:56.037Z (about 2 months ago)
- Topics: android, appium, gradle, ios, parallel, selenium, testng
- Language: Java
- Homepage:
- Size: 58.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mobile Test Automation Framework
This framework is designed to run automated tests on both Android and iOS devices using Appium, Selenium, TestNG, and Gradle.
It supports parallel execution on multiple devices/emulators and uses a Gradle build configuration with TestNG for test management.## Installation
### 1. Download XCode and Set Up Simulators
- Start available iOS simulators:
```sh
xcrun simctl list devices
xcrun simctl list | grep Booted
open -a Simulator --args -CurrentDeviceUDID 62EA1EB4-30AD-4180-8799-FA2854364C92
open -a Simulator --args -CurrentDeviceUDID 321C4A8C-AE5E-43D3-9CF2-B01E4EE3DF0C
xcrun simctl boot 62EA1EB4-30AD-4180-8799-FA2854364C92
xcrun simctl boot 321C4A8C-AE5E-43D3-9CF2-B01E4EE3DF0C- Start available Android simulators:
```sh
emulator -list-avds
emulator -avd Pixel_4_API_35
emulator -avd Pixel_6a_API_35- Install Appium and Drivers
```sh
npm install -g appium
npm install -g appium-doctor
appium-doctor --android
brew install ffmpeg
appium driver install xcuitest
appium driver install safari
appium driver install uiautomator2
- Run tests
```sh
./gradlew clean test -Dtestng.suite=src/test/resources/ios-suite.xml
./gradlew clean test -Dtestng.suite=src/test/resources/android-suite.xml