Appium 2.0 Tutorial Home / Video /

How to Set Up Appium 2.0 ๐Ÿ“ฒ | Complete Installation Guide | Part I | LambdaTest

How to Set Up Appium 2.0 ๐Ÿ“ฒ | Complete Installation Guide | Part I | LambdaTest

About the Video

Explore Appium 2.0 like never before in this comprehensive tutorial series by ๐’๐ข๐๐๐ก๐š๐ซ๐ญ๐ก ๐’๐ก๐ฎ๐ค๐ฅ๐š (@๐ฌ๐ข๐๐ก๐š๐ซ๐ญ๐ก๐ฌ๐ก๐ฎ๐ค๐ฅ๐š๐Ÿ’), a seasoned QA expert. In Part 1, you'll learn everything you need to set up Appium 2.0, from understanding prerequisites to installing Node.js, npm, Appium Doctor, drivers, and plugins.

Siddharth also guides you through starting the Appium server, setting up Java JDK, and configuring Android Studio for seamless mobile app testing. Plus, you'll learn frequently used commands to manage drivers, plugins, and more.

Video Chapters

00:00 Introduction

02:43 Appium 2.0 and Prerequisites

04:32 Installing Node.js and NPM

07:52 Installing Appium 2.0

09:17 Installing Appium-Doctor, Drivers, and Plugins

12:23 Running the Appium Server

13:25 Additional Setup for Appium 2.0

18:30 Frequently Used Commands in Appium 2.0

20:21 Closing Words

Key Topics Covered

Introduction to Appium 2.0

Appium 2.0, released in 2022, introduces significant enhancements over its predecessor. It adopts a modular architecture, allowing independent installation and updates of drivers and plugins. This flexibility supports custom development, fostering greater contribution and innovation within the testing community.

Prerequisites

Before setting up Appium 2.0, ensure the following:

Operating System: Compatible with Windows, macOS, or Linux.

Node.js and npm: Install the latest version of Node.js, which includes npm.

Java JDK and Android Studio: Required for Android-based mobile automation.

Installing Node.js and npm

Method 1: Download the Node.js installer from Node.js Official Website and follow the setup instructions.

Method 2 (macOS): Use Homebrew with the command brew install node.

Verification: Confirm installation by running node -v and npm -v commands in the terminal.

Installing Appium 2.0

Use the following command to install Appium globally:

npm install -g appium@latest.

Verify installation success with:

appium -v.

Setting Up Appium Doctor

Appium Doctor ensures all dependencies are correctly installed:

Install using:

npm install -g appium-doctor.

Run the tool with:

appium-doctor to identify and resolve missing dependencies.

Drivers and Plugins Installation

In Appium 2.0, drivers and plugins are installed separately:

Install essential drivers:

Android (UIAutomator2): appium driver install uiautomator2.

iOS (XCUITest): appium driver install xcuitest.

List installed drivers using:

appium driver list.

Running the Appium Server

Start the Appium server with the command:

appium.

The server handles automation requests and facilitates communication with devices.

Additional Configuration

For enhanced testing, configure the environment:

Set up Java JDK and Android SDK paths.

Install and configure Android Studio for emulators.

Frequently Used Commands

Appium 2.0 introduces commands for managing drivers and plugins:

Install a Plugin: appium plugin install <plugin-name>.

Uninstall a Plugin: appium plugin uninstall <plugin-name>.

Update a Driver: appium driver update <driver-name>.

Related Blogs & Hubs

Appium 2 Migration Guide: Migrating From Appium 1.x To Appium 2.x

A Complete Tutorial to Appium Capabilities for Mobile Automation

Understanding Appium Architecture: Key Components Explained

Appium Doctor: Your Prescription to Seamless Mobile Testing

More Videos from Appium 2.0 Tutorial