Appium + python automated 5-Appium Inspector

Preface appium Inspector from entry to give up! Anyway, you are open, then why give it a look! 

    Appium Inspector is appium comes with an element positioning tool, an article on how to use the elemental uiautomatorviewer positioning. Benpian Appium Inspector is learning how to position.


First, set appium

    1. Do not start appium

    2. opening the android setting interface (robot icon)

    3. Select Application Path, adding the measured path app

    Add 4.Devices name of the device name (adb devices to view)

(Knock on blackboard, mind focus: can also be viewed in this way to apk's package name and Launch Activity)

Second, open appium

    1. ensure that the phone connected to the computer (adb devices View)

    2. Point appium top right corner of the triangle icon will start the service

    3. At this time we can see Taobao application installed on the phone, and will start Taobao

    4. Search icon in the upper right corner point appium

    5. point Inspector Window interface Refresh button interface



三、Ispector Window

    1. Open the interface needs to unity on the phone, and then the Refresh button

    2. on the left menu tree, you can open one by one point

    3. If you want to "Yes" and "No" buttons on the unit interface, from the menu tree you can see the structure of these two elements



Fourth, view the properties

    1. Select the menu tree on the left corresponding elements in the lower right corner to see the corresponding property

Five common exceptions

    1. In the course, you will find that this often reported the following error

    2. Every time you start your phone will give reinstall applications

    And 3. can not specify an element with the mouse, easy to use no uiautomatorviewer

(If these three problems you have encountered, and how to do it would be to abandon it ??? !!!)


相信很多人在使用过程中,都会遇到中文无法输入问题,小编下一篇手把手教大家如何输入中文。

Guess you like

Origin www.cnblogs.com/zixia/p/11314487.html