This project will hold all test example that have been shown during the live Coding session of Automate The Uncommon With Appium on the 1st of October 2020.
This project is using the following dependencies:
- Android emulators
- iOS Simulators
- Node.js
- Appium
- Appium Desktop
- WebdriverIO
I'll not explain all dependencies in detail here, just how or where to download them. Google will be your friend for the rest of your questions ;-).
You need to have Android Studio installed to create one or multiple emulators. Download it from here and follow the instructions.
You need to have a Mac to be able to download XCODE. When you've installed it you can start your own simulators.
You’ll need Node.js installed.
- Install at least v12.16.1 or higher as this is the oldest active LTS version
- Only releases that are or will become an LTS release are officially supported
If you don't have Node installed, we recommend installing NVM to assist managing multiple active Node.js versions.
You can find more information on how to install Appium here. Just follow the installation steps, not the steps for writing your first test because that will be done with WebdriverIO.
Appium Desktop is the same as Appium, only with a beautiful and flexible UI around it. You can download it here. Check the documentation on how to use it.
You don't need to install WebdriverIO yourself, just check Setup the project.
-
Clone this project with
git clone https://github.com/wswebcreation/TheUncommonTests.git
-
Go to the directory
cd TheUncommonTests
-
Install all dependencies
npm install
Congratulations, you're done!!!
The session covers the following subjects:
- App-Browser-App Interaction => branch
01-app-browser-app
- How To Automate Quick Actions => branch
02-quick-actions
- Poll - What Would You Like To See => branch
03-poll
Each subject has its own branch. Execute the following step to start for example the 01-app-browser-app
-branch
git checkout 01-app-browser-app
The automation code that belongs to that subject can be found in the tests-folder.
Happy testing!!!
Grtz
Wim Selles, aka wswebcreation