In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Original articles, welcome to reprint. Reprint please indicate: Reprint from IT people story meeting, thank you!
The original link address: "docker combat" python docker crawler technology-mobile automation control tool uiautator tool (16)
uiautomator is a testing tool released after Android 4.3, uiautomator is used for UI testing. This is a normal manual test, clicking on each control element to see if the output meets expectations. For example, enter the correct and wrong user name and password on the login interface, and then click the login button to see if you can log in and whether there are error prompts.
Source code: https://github.com/limingios/dockerpython/tree/master/advanced version uiautatorviewer-master
uiautomator
1. uiautomatorviewer -A graphical interface tool to scan and analyze UI controls for applications.
2. uiautator-A Java library for testing that contains various APIs for creating UI tests and an engine for executing automated tests.
uiautomatorviewer
Click uiautatorviewer.bat to open uiautatorviewer
After opening, click here to load the screenshot of the device
Elements can be obtained through information about these elements.
After the crawler project, you can locate the element through xpath.
The elements obtained by the official uiautomator are very simple, lacking fullIndexXpath and uiaSelector.
There are great gods among the people who have rewritten this uiautomator. It's in my source package.
1. Copy all jar packages to the %SDK%/tools\lib directory, overwriting the original uiautomatorviewer.jar
2. Run it with %SDK%/tools\uiautatorviewer.bat.
PS: This tool is very important to analyze app elements, just like when we do web page development f12 to view element information, it is convenient to analyze. To be able to obtain elements, you can manipulate elements, which is the first priority of python crawler automation.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.