We are doing when APP automation, positioning is very important, as do the webUI automation same, but personally feel than the web app targeting complex point, after all, wrote after app targeting expression did not change expression validation tool is unique , resulting in heavy workload
Today we do next main summary automate app need to use the three major positioning tool
uiautomatorviewer
This tool is used to install the tools we SDk which comes with Android tool to locate, this tool does not require the installation of our own, when we scored adb environment has been downloaded well
Location: in our own sdk directory below the root directory of tools
And we want to use this tool directly execute the bat file on it
After the execution interface:
Next we open a simulator or a real machine connection
appium positioning
We previously downloaded appium server can also be used as a positioning tool
Operating Screenshot:
In the device connected to the information added here
After fill click:
Interface after start-up screen will demonstrate your current phone or a simulator
python version uiAutomator2 in weditor
In this way the positioning is very simple
1, the installation uiAutomator2: pip install -U uiautomator2
2, the positioning tool mounting weditor: pip install -U weditor
3, the direct command line to run: weditor positioning tool can be opened in a browser
Three positioning tool to summarize here, the benefits of each of these three tools have it, just what kind of use, as long as I can help it locate the problem