Mobile Testing with Appium and Java – From Setup to Execution
Learn Appium, the open source tool for automating mobile apps on iOS, Android, and Windows. Install, automate tests, and interact with elements using Appium.
Let’s start with the course overview, and in this video, we will start with “What will I learn during this course?”
We will understand the Appium Philosophy and Architecture
How to install Appium on different Operating Systems, like macOS and Windows OS
Understanding the Appium desired capabilities
Getting started with automating tests with Appium in Java
Knowledge of how to automate Android and iOS native apps with Appium
Running tests on iOS real devices
Automating mobile gestures
Automating Web testing
What is Appium?
Appium is an open source tool for automating native mobile web and hybrid applications on iOS, Android, and Windows.
The second point is Appium is cross platform. It allows you to write this against the multiple platforms such as iOS, Android, and Windows using the same api. So here we can have two main features of Appium. It’s open source, so you can start using it today, and it’s a cross platform, so you can use it with different types of applications for iOS, Android, and Windows desktop.
Additionally, you can also write APM test with different programming languages such as Java, Python, Java Script, CS Sharp, and that mean this is not required to learn a specific programming language to use Appium, but it supports multiple or different programming languages about me.
Currently, I’m working as a Developer Advocate at Bitrise based in Germany, and I’m also an instructor at Automation University. I have already two live courses, one for Espresso for Android, and one for teca using JavaScript.
I have worked before in business domains like agriculture, telecom, healthcare, fashion, and food delivery. I design test automation frameworks for web, mobile and API using different set of tools and technologies. Also, I implemented different CI/CD pipelines using different tools like GitLab, Bitbucket, ric, GitHub, actions, and Jenkins.
If you have any question, you can send them to me during this course. We will be talking about:
Introduction to mobile testing
Introduction to Appium to learn what is the Appium philosophy, what is the architecture behind Appium, and how we can use Appium in our test
Installing and running Appium on different operating systems such as macOS and Windows
Interacting with elements using Appium for both Android and iOS
Writing the first test for Android application and iOS application
Web testing with Appium
The prerequisites for Appium are installing of:
Node.js 10 or above
NPM, or “Node Package Manager”
Appium
Appium Doctor
JDK 8+
Maven
IntelliJ IDEA
IntelliJ IDEA is the recommended IDE, but you can use any editor or IDE that you want, such as VS Code.
The iOS requirements to use Appium:
macOS operating a system version 10.13 or higher
Homebrew installed
Xcode 10+
Carthage
ios-deploy
ideviceinstaller
Apple developer account
Apple developer tools, including iPhone simulator SDK and the command line tools
If you are planning to run our test on a physical device, you should have these things:
An Apple account or Apple Developer account
ideviceinstaller
ios-deploy
Carthage
But if you are using simulator only, you can just use a macOS Home Pro Xcode and Apple developer account.
For Android, it’s simple. We just need to install Android SDK 16+, which includes the Android emulator and the command line tools.
Now, this is the start of our journey with Appium, and I hope that the course will be useful for everyone.
See you in the next video, bye bye!