Start by downloading and installing Appium Desktop
If running locally, use the default 0.0.0.0 for Host
Click Start Server to Start the program
Open the analyzer by clicking on the Start Inspector Session icon in the upper right. Refer to the documentation for the analyzer operations
Note that if you are using a third-party simulator (Nox for example), you need to do the following:
- Find adb.exe in the AndroidSdk\platform-tools directory and rename the file to adb.exe.bak
- Find the nox_adB.exe file in the bin directory of the Nighthook simulator installation directory
- Copy nox_adb.exe to the AndroidSdk\platform-tools directory and rename it to adb.exe
Start Nox, the Nox simulator, in CMD adb devices
Check whether the connection is successful
Take snowball APP as an example: After downloading the APP, drag it to the simulator for installation. We then enter a few parameters into Desired Capabilities based on the contents of the document
{
"platformName": "Android",
"deviceName": "Nox",
"appPackage": "com.xueqiu.android",
"appActivity": ".view.WelcomeActivityAlias"
}
Copy the code
Click Start Session in the lower right corner to Start running the emulator will automatically install an APP named Appium Settings and return to the desktop automatically after installation
Wait for Appium to continue running, and a page will pop up after running
You can click some controls to view properties, or Tap the right Tap option to operate
If the interface of the simulator is not synchronized with the Appium at this time, click the semicircular refresh button above the Appium to display the synchronization interface