Mobile setup
You can run your mobile tests by using Test Maker. You can either use an emulated device or a real one. We will go through an example of how to setup your mobile tests.
Install Android studio
If you are running on Windows set your environment variable ANDROID_HOME C:\Users\user\AppData\Local\Android\Sdk
Open Android studio Create a new project Select an emulated device For example : device : Google Pixel 4 XL API 32 - Tiramisu
Turn on your emulated device
Open a terminal and enter the command
adb devices
Which should return the list of connected devices. (oftentimes emulator-5554 or emulator-5556)
Once you have the device name, you can enter it inside your Test Maker Configuration inside Configuration.runner.adapters .
adapters: [
{
name: `appium`,
options: {
clients: [
{
name: `android:chrome`,
options:{
"appium:deviceName": `emulator-5556`,
}
},
]
}
}
]