Hello everyone, in this blog, I will be sharing some basic concept and installation process of Appium on your Linux system.
In a job profile like QA you should be open to work on any kind of technology stack based on your project. You should not limit yourself to a specific skill set. In short as a QA you should be able to assure the quality of a project in all aspects whether it is API testing or UI testing or any other type of testing (performance, load, stress just to name a few). You should be able to reduce the QA effort by introducing automation in both aspects. I will be discussing all types of testing and the basics of them in my next blogs so stay connected.
Before getting started let’s discuss why a blog on Appium?
While working in software testing we are working on the different types of applications like web-based applications, window base applications some time we got a chance to work on mobile applications.
Mobile applications are the applications which are running on the mobile devices. It could be an android device, an ios device, or a window device. There are multiple tools available in market to automate a mobile application testing process. One of the tool is appium which we are going to cover in this blog.
What is Appium:
Appium is an open-source automation tool or we can call it an open-source automation framework which allows us to automate the different type of mobile applications, it could be a web application, it could be a native or hybrid application.
So question arise what is the difference between these applications?
- Web applications: web applications or the mobile web application are the applications which are running on the mobile browsers.
- Native applications: native applications are the applications that are installed on the mobile device and we can use it directly.
- Hybrid applications: Hybrid applications are combination of web and native applications.
- It supports the android as well as ios and windows application.
- It supports multiple programming languages(java, python, ruby, c# and many more).
- Appium can work on the simulator as well as on the real devices.
Architecture Of Appium:
Appium supports Android versions greater than or equal to 17, for earlier versions it uses the Selendroid framework.
When we execute the test scripts, Appium sends the command to the UIAutomator or Selendroid on the basis of the Android version.
Bootstrap.jar plays the role of a TCP server, which we can use to send the test command in order to perform the action on the Android device using UIAutomator/Selendroid.
Appium Setup on the system:
- Android SDK
To install java click here.
set environment variable for java by adding JAVA_HOME in $ file.
Open the terminal and type this below command from the terminal:
if Java is installed successfully then you will get the following response:
Android SDK Installation:
To install android SDK click here.
Set the environment variables for android SDK by adding ANDROID_HOME,Platform-tools, and tools.
To verify the android SDK installation type the following command from the terminal:
If android SDK is installed then you will get the following response:
To install Node click here.
There is no need to set the environment variables for node.
To verify the node installation type following command from the terminal.
if node is installed successfully you will get the following response:
you can use any IDE tool for Appium like IntelliJ, eclipse, or android studio.
To install the android studio click here.
Use the following command to install the Appium :
npm install -g appium
to verify the Appium installation type following command from terminal:
if appium is installed successfully you will get the following response:
In the end after installing appium, we should check whether all major and necessary dependencies are installed on our system or not.
To verify this type the following command from the terminal:
–android for checking all the necessary dependencies required for test android applications.
—ios for checking all the necessary dependencies required for test ios applications.
If all the necessary dependencies are installed on your system you will get the following response.
Thanks for reading this blog.
In my next blog I will cover some basic concept of appium.
Stay connected for my latest blogs related to Automation testing of the android application using Appium.