Setting Up and Basic Configuration of Appium: First Steps and Setting Up the Working Environment

There are 3 basic steps to install Appium on our computer:

  1. Install Node.js

  2. Install the Appium desktop client application.

  3. Check the installations of downloaded files and ensure dependency control.

1 - Installing Node.js

First, let's open the command prompt (cmd) from the start menu as an administrator. In the appearing window, type "npm — version" and "node — version" and press enter. If you receive a message like the one below, it means that Node.js is not installed on your computer.

Tarayıcımızı açarak “https://nodejs.org/en/download” bu siteden işletim sisteminize uygun olan node.js paketini indirebilirsiniz. Bilgisayarımıza .msi uzantılı bir paketin yüklenmiş olacaktır.
Bu pakete çift tıklayarak kurulum işlemine başlayabilirsiniz.

Proceed with the installation by clicking the "Next" button. Finally, click the "Finish" button to complete the installation.

We can check if Node.js is installed correctly by opening the command prompt.

If the version information appears as shown below, it means that it has been installed correctly.

You can either install Appium from the command line using Node.js or download the Appium Desktop application and use Appium from there.

2 - Installing Appium with Node.js

After installing Node.js, you can download Appium by typing "npm install -g appium" in the command prompt.

To verify that Appium has been installed correctly, simply type "appium -v" in the command prompt. If version information is displayed, it means that it has been installed correctly.

Starting Appium

You can start the Appium server by entering the "appium" command in the command prompt.

As seen in the figure, the Appium server has started successfully.

3 - Downloading Appium Desktop Client

In your browser, go to "https://github.com/appium/appium-desktop/releases" to download the desired version of Appium to your computer. Click on the downloaded Appium installation file to start the installation process.

Complete the necessary steps to finish the installation.

Click on the Finish button, and you will see that the Appium desktop application has opened.

By default, the Host information is "0.0.0.0" and the Port information is "4723".
By clicking the "Start Server" button, we start the Appium server.

After following these steps, you'll have Appium ready for mobile app testing.

Author: Abdulsamed Bahçacı