First, download appium-server and library files
Library file: Jar Package: Java-client-3.1.0.jar
Appium-server:appium server;
Note: Appium contains the client and server side, the client is the Java script written, the Appium servers by receiving the client's Java Script command, and then send commands to ADB to operate the phone;
Second, download the Android SDK package
Third, install and run Appium Server
Iv. Download and install night God Simulator
Note: Appium server configuration:
1, open, small gears in the configuration server address and port;
2, small robot icon configuration: Use Browser:browser; If you are testing the native app,application path: The path to the configuration package
3, platform name:android;
4, Automationname:appium;
5, Platformversion: version of Android system;
6, DeviceName: Through Adbdevices access: such as: 127.0.0.1:52001;
Click the magnifying glass in the Appium server to open the browser on your phone directly. Can be written in Java script (need to use the Java-client-3.1.0.jar package and Selenium jar package) for H5 automated testing;
Note: For the lectures organized, no actual operation, if there is a problem, please correct me;
Rapid implementation of H5 Automation test based on Appium