This article is from the official account of the project: “AirtestProject” Copyright notice: It is allowed to be reproduced, but the original link must be retained. Do not use it for commercial or illegal purposes

1. Introduction

This update is AirtestIDE and version has been upgraded to 1.2.12.

2. IDE update details

1) Upgrade the built-in Airtest library to version 1.2.3

① Fixed the abnormal horizontal and vertical display of some devices, especially emulators and special Android devices (car and machine devices, etc.).

When 1.2.11 IDE is connected to emulator or some special Android devices, the device screen display will be incomplete. We can update the IDE version to the latest 1.2.12 to solve this problem:

2) The built-in POcoui library has been upgraded to version 1.0.84

① Modified Pocoservice. apk, fixed the problem that some mobile phones (such as Huawei P40) may use the node information cached before in the sliding process, so that the latest information of the current node cannot be correctly obtained (that is, a node is clearly sliding to the current screen, But exists still returns false.)

However, this may lead to slow node lookup in partially complex scenarios!

Pocoservice. apk = pocoservice. apk = pocoservice. apk = pocoservice. apk = pocoservice. apk = pocoservice. apk = pocoservice. apk = pocoservice. apk = pocoservice. apk

(3) PocoService. apk is no longer too low on current advanced Android phones

With either a 1.2.12 IDE or a 1.0.84 Pocoui, you only need one Pocoservice.apk installed on your Android device.

3. How to update

1) Overwrite updates

When opening the AirtestIDE, you can click the “Update” button in the lower left corner to update it if you receive the following message:

Special note: The update process should not be interrupted. If the update coverage is interrupted abnormally, the update coverage may fail and the AirtestIDE cannot be opened normally.

You can uninstall the AirtestIDE when the update fails and download the latest version on the official website.

Before updating the file, check whether the script is saved in the file path of the AirtestIDE. If yes, back up the script before updating it. Otherwise, the script saved in the file path of the AirtestIDE will also be overwritten.

2) Download the latest version from the official website

Official website to download address: airtest.netease.com/home/index…. :

3) Update the local Python environment library

To update the libraries of the local Python environment to the same environment as 1.2.12, use the following command:

1.0.84 PIP install -u pocouiCopy the code

4. Pay special attention

1) Use the latest IDE but not set up to the latest Python environment

If you are using the latest version of IDE 1.2.12 to connect to your Android device, the IDE will automatically install the latest version of PocoService. apk on the device, and then run the POCO script on the device. Pocoservice.apk cannot be started properly.

So if you are using the IDE version 1.2.12, and you set the option — Settings to run scripts in the native Python environment, check to see if the pocoui in the native Python environment has been updated to the latest version. Be sure to first update it to the latest version to run the POCO automation script:

pip install -U pocoui
Copy the code
2) Repeated restart of PocoService

Pocoservice reboots repeatedly are a common problem, so we’ve compiled most of the reboots and their solutions in a previous post: poCO reboots? Look at these 6 points is enough, I hope to help you troubleshoot this kind of problem.


AirtestIDE download: airtest.netease.com/ Airtest tutorial website: airtest.doc.io.netease.com/ build enterprise private cloud service: airlab.163.com/b2b

Official Q group: 654700783

Ah, so serious all see here, help in the left side of the article click on the likes and favorites, give me a support, ash often thank ~