TABLE OF CONTENTS
Installation steps for Appium
- Install Appium version 1.22.3 or the latest stable version.
- Download the installer from this link: Appium Desktop Releases. Choose the appropriate file for the windows.
- Click on the downloaded file, "Appium-Server-GUI-windows-1.22.3-4.exe."
- The Appium Setup dialog box appears, click “Install”.
- Wait for the process to complete.
- After completing the process, click “Finish”.
Installation steps for Android Studio
- Download the installer from this link: Android Studio.
- Select "I agree with the terms." Choose the file named "android-studio-ide-202.7486908-windows.exe”."
- Click the downloaded file, "android-studio-ide-202.7486908-windows.exe."
- Android Studio Setup window appears. Click Next.
- Choose the Android Virtual Device option and click Next.
- Click Next.
- Click “Install”.
- Wait for the process to complete and click Next.
- Click “Finish”.
To set the path for Android Studio in system variables under environment variables.
Note: Make sure that Java compatible version is installed. To download the compatible version, refer to Java Downloads.
Installation steps for Python
- Download the Python stable version from Python Downloads.
- Run the .exe file and Enable the “Add Python 3.7 to PATH” by setting this we need repeat the steps for adding environment variables. by deafult, it takes after installation and Select “Install Now”.
- Wait for the process to complete and Click "Close”.
- Install the Python Packages by running the required commands in the command prompt.
allure-behave 2.13.2
allure-python-commons 2.13.2
Appium-Python-Client 3.1.1
async-generator 1.10
atomicwrites 1.4.1
attrs 23.2.0
beautifulsoup4 4.12.3
behave 1.2.6
certifi 2023.11.17
cffi 1.16.0
charset-normalizer 3.3.2
colorama 0.4.6
cryptography 41.0.7
h11 0.14.0
idna 3.6
imageio 2.33.1
iniconfig 2.0.0
lazy_loader 0.3
MouseInfo 0.1.3
networkx 3.2.1
numpy 1.26.3
opencv-python 4.9.0.80
outcome 1.3.0.post0
packaging 23.2
parse 1.20.0
parse-type 0.6.2
pillow 10.2.0
pip 23.3.2
pixelmatch 0.3.0
pluggy 1.3.0
py 1.11.0
pycparser 2.21
pyOpenSSL 23.3.0
pyparsing 3.1.1
pyperclip 1.8.2
PySocks 1.7.1
pytest 7.4.4
PyWavelets 1.5.0
PyYAML 6.0.1
requests 2.31.0
scikit-image 0.22.0
scipy 1.11.4
selenium 4.16.0
setuptools 69.0.3
six 1.16.0
sniffio 1.3.0
sortedcontainers 2.4.0
soupsieve 2.5
tifffile 2023.12.9
tomli 2.0.1
trio 0.24.0
trio-websocket 0.11.1
urllib3 2.1.0
wsproto 1.2.0
xmltodict 0.13.0 - Open command prompt and type “pip install Package Name”.
For example, In the command prompt window, type 'pip install allure-behave.
Initiating Mobile Emulator and Appium
Perform the following to set Mobile Emulator Settings:
- Open android studio > select "configure" option.
- Select AVD Manager from the drop down list as shown:
- After opening AVD manager, click the “Create Virtual Device” button.
- Select either the appropriate pixel version (recommended is pixel 3 or 4), ensuring it has the Play Store, and click "Next."
- Now, download the appropriate version.
- Click "Next”.
- Click Finish.
- After creating the emulator, click the play button to start the emulator.
To set the Appium Settings
Perform the following:
- Open Appium desktop app and click the “Start Server v1.13.0” button.
- On the File Menu > select "New Session Window".
- Download and Install Appium Inspector
To download and install the latest version of the file, click .
- In Appium inspector, set the desired capabilities, add the following data for a Mobile app.
NAME Value
"platformName": "Android",
"automationName": "Appium",
"deviceName": "your_device_name",
"app": "path/to/your/app.apk",
"appPackage": "your.app.package",
"appActivity": "your.app.activity" - After saving the Appium desired capabilities, click the “Start Session” to initiate the session.
- Verify that your emulator is running correctly.
Open a command prompt.
Run the following command to verify that the emulator is recognized:
adb devices
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article