Introduction

Hi friends, In this article, we are going to learn what appium is and how to install appium in our system. Appium is a popular open-source tool for automating mobile applications across various platforms like Android and iOS. Appium's support for multiple programming languages, including Java, Python, JavaScript, and more, ensures flexibility and accommodates diverse skill sets within development teams.

Appium Automation Testing Image

Why Mobile Automation Testing Required?

Mobile automation testing offers numerous benefits that contribute to the overall quality and success of mobile applications. Here are several key reasons why mobile automation testing is essential:

Why Appium For Mobile Automation Testing?

Whether you're a QA engineer, developer, or testing enthusiast, Appium is awesome for mobile automation testing because:

  1. Works Everywhere: It can test both Android and iOS apps, covering all bases.
  2. No Code Changes Needed: You don't have to change the app's code to test it.
  3. Easy to Learn: It's simple to pick up, especially if you know web automation.
  4. Saves Time: Automates repetitive tasks so you can focus on the fun stuff.
  5. Community Support: You're not alone! There's a big community ready to help.
  6. Fits Your Language: You can write tests in Java, Python, JavaScript, and more.
  7. Continuous Integration: Integrates smoothly with your development pipeline for seamless testing.
  8. Real Devices: Test on real phones and tablets, just like your users.
  9. Cost-Effective: Being open-source means it's free to use and adapt.

Appium makes mobile testing easy, effective, and enjoyable!

Prerequisite

How To Install Appium

We need to install Appium Server GUI and Appium Inspector for Appium Setup.

Step 1. Downloading Appium Server GUI

Step 2. Downloading Appium Inspector

Step 3. Setting Up Environment

After installation, make sure to set up your development environment properly. This involves configuring your system variables (like PATH) to include the paths to the Appium and other necessary executables.

Java Path

Please make sure you have added the Java path in your Environment Variables section and select the "Path" variable

JAVA_HOME Path

Please make sure you have added the Java home path in your Environment Variables section and select the "JAVA_HOME" variable

JAVA_HOME Path

Android SDK Path

Open your Android Studio->Tools->Select SDK Manager and find your SDK Path location.

Please copy these above paths into your notepad. We will use these in the future.

Step 4. Open Your Appium Server GUI

Step 5. USB Debugging

Please make sure your Developer Option and USB Debugging must be on.

Step 6. Open Your Appium Inspector

Please edit the below parameter

Remote Host -> localhost

Remote Port-> 4723

Remote Path->/wd/hub

Capability Builder-> Click on Edit in JSON Representation, paste the below JSON, and click on the save icon.

{
  "platformName": "Android"
}

click on the Start Session button.

Conclusion

In this article, we have seen how to install Appium. Thanks for reading, and I hope you like it. If you have any suggestions or queries about this article, please share your thoughts. You can read my other articles by clicking here.

Happy learning, friends!