foreword
Since python is used to write automation scripts, it is mainly to build a python-related environment.
step
1. Build the Android SDK development environment
This step is to download the Android SDK and configure the environment variables. Since I own Android and the environment has been built, I will be lazy here. If you don't know how to build, please search for relevant content by yourself, haha.
Attach the appium tutorial to build the Android SDK
2. Build a Python development environment
2.1 Install python
Download and install it from the official website , and then add the python installation root directory to the system environment variable. If python is executed on the command line and python-related information appears,
it .
Attach the Windows x86-64 MSI installer
2.2 Install Pycharm
Official website download , Pycharm is divided into community version and professional version. The biggest difference is that the professional version is paid, so the community version is chosen to download here .
3. Build Appium environment
Since appium has not been updated since 2016, the highest version of Android supported is 6.0, so another version , appium-desktop , is directly selected here. The latest version is 1.5.0, the corresponding Windows version , which can be run directly after downloading. The running interface is as follows:
So far, the python-based Appium environment has been built.