- This framework provides a basic implementation for Appium based Android/ iOS tests using the latest Appium Client v8.x.x and Server 2.x.x
- This could be used as the initial starter-kit to evolve into a full-fledged framework
- Multiple stand-alone test examples have been added to understand different functionalities
![image](https://private-user-images.githubusercontent.com/40739038/272451012-951d5a33-c014-478e-a7f8-e868ecdc1d70.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ1ODE3ODcsIm5iZiI6MTcyNDU4MTQ4NywicGF0aCI6Ii80MDczOTAzOC8yNzI0NTEwMTItOTUxZDVhMzMtYzAxNC00NzhlLWE3ZjgtZTg2OGVjZGMxZDcwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI1VDEwMjQ0N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTMzMjMzMzMyMGVmNjQ0ZmQwM2U3ZWFiYjMxZWU0MmEwYzYwYmZhNjU2ODQ2MmM4MGZhYjk0NTRlZWJmMjFiOGUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.CkHcV7CiLJkPlSnqgp6YFhysOj7EL--zV42oG4dpjpw)
Tests
- Tests defining the user actions based on business workflow
- Assertions based on the expected outcomes
Tasks
- Combining multiple actions to workflow
- Tests should use tasks
- Return type for assertion
An intermediate layer to combine multiple page interactions in a user-flow. These can be modularized to have re-usability across the tasks. If a single page has multiple workflows then we should create page-wise tasks else we should try and combine them to define it as user actions.
Pages
- Locators to identify the elements
- Methods to interact with Elements on page
- Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)โ
Check brew version:
brew --version
- Install Android Studio
https://developer.android.com/codelabs/basic-android-kotlin-compose-install-android-studio#4
- Install node and npm
brew install node
Check node version:
node -v
Check npm version:
npm -v
Install appium-installer
:
npm install -g appium-installer
Run appium-installer
to
- set-up Android and iOS environments
- install Appium server
- install Appium driver
- install Appium plugins
- run Appium doctor
- launch Emulators/ Simulators
appium-installer
- Use
testng.xml
to run a suite of tests or a single test
or
- Using gradle:
./gradlew clean test -Pgroups=dragDrop --info