In the previous blog we discussed different drivers which are supported by Appium. https://blog.knoldus.com/introduction-to-appium-and-its-drivers/ . In this blog we will learn about emulator, and installing GUI version of on Ubuntu.
- An emulator is a software which uses computer resources to behave like another computer system. Using emulator we can emulate any android device on our local computer system. We can use AVD (Android Virtual Device). You can install AVD using Android Studio or SDK. Using AVD you can create any device you want according to your requirements, as we many times need to run and test our application on different devices having different configurations. We can configure hardware capabilities . As it allows us to define what type of configuration we want.
- Launch the emulator and Appium will automatically find and execute the application on it. As we may have multiple devices to run test on we can define the name of the emulated device in our capabilities file.
Testing on Real devices
- For running and testing your application on a real android device you just need:
- An android device with developers options available
Windows Application Driver
- Windows Application Driver (WinAppDriver) is a service to support Selenium-like UI Test Automation on Windows Applications. UI testing on windows can be performed using it. It can be used for testing and automating windows applications on the latest version of windows (Windows 10).
Appium supported languages are :
- Java Script
How to install Appium GUI on Ubuntu?
- Go to https://github.com/appium/appium-desktop/releases/tag/v1.15.1
- Click and download Appium-linux-1.15.1.AppImage
- Download the file and find it in your system.
- Right click on the AppImage file and open files properties.
- Go to permissions tab and tick on Allow executing file as program.
- Close the properties and run the file.
- You can find it in your installed application list.
This is a small introduction to Appium by which we can easily install it with GUI on our Linux operating system. In upcoming blogs I will be writing about writing test cases for mobile devices using Appium.