appium_desktop_v1.2.6
1.appium_desktop on GitHub Latest: releases/tag/v1.2.6
2. After download the fool installs, then launches the Appium, this interface is very different from the previous old version, the version number: V1.7.1
Run Appium
1. Start the interface point Start button directly into the console log interface, encountered any error here to read the log, basically can find a way to solve the problem.
Inspector
1. Element positioning detector, in desired capabilitis the table input parameter configuration information:
- ' PlatformName ': ' Android '
- ' DeviceName ': ' 127.0.0.1:62001 ' # This is the device name of the night God Simulator
- ' Platformversion ': ' 4.4.2 ' # Night God simulator system is 4.4.2
- ' Apppackage ': ' Com.taobao.taobao '
- ' appactivity ': ' Com.taobao.tao.welcome.Welcome '
2. After the configuration of the parameters can be saved, and then start the night God Simulator, and then click the Start Session button to locate the element
3. Use the arrow buttons in the navigation bar to locate the element properties of the app on the left
Pop-up box of pits
1. There is a pit where the elements of this popup cannot be located and need the UI Automator viewer tool to navigate to
Comparative analysis
1.inspector Advantages
- Appium with the inspector can see the XPath path, compared to the XPath unfamiliar classmates can be very good to help
2.inspector Disadvantages
Summary: XPath is actually the next way of positioning, can not use as much as possible, and do not have to copy the XPath paste, that to you to locate a little help is not, want to use the XPath classmate, learn more grammar, write to yourself!
Appium+python Automation 25-windows Version appium_desktop_v1.7.1