Skip to content
On this page

广告 ADS

Element capture

Get usage instructions for the element.

Native elements

Make sure your Driver has started normally.

How to get it:

  1. Click [Get Elements]
  2. Get it!

POCO elements

The engines currently supported by Sonic for game automation are:

  1. Unity3D
  2. UE4
  3. Egret
  4. Cocos2dx-js
  5. Cocos2dx-lua
  6. Cocos2dx-c++
  7. cocos-creator

TIP

When accessing POCO-SDK, if you change the default socket startup port, you can specify the value of the connection port in Default Port.

How to get it:

  1. The tested control type is a game element
  2. The corresponding game package has been connected to POCO-SDK. 👉POCO Official Access Guide
  3. The corresponding engine page for accessing the SDK has been opened.
  4. Click [Get Control Elements]
  5. Get it!

left area

The left area is a real-time screenshot. Click the corresponding area, and the position of the element in the element tree under the corresponding coordinates will be displayed in the middle area. At the same time, the right area will display the detailed information of the corresponding element.

middle area

The middle area is the hierarchical structure of the real-time element tree. You can click on the corresponding level, and the left area will display the block of the corresponding element in color. At the same time, the right area will display the detailed information of the corresponding element.

Right area

The right area is the detailed information of the element. If the project is associated in [UI Automation] or here, the element information can be saved to the project, and then directly referenced in the automation. If it needs to be used for image recognition, you can use [Snapshot] to save it directly.

本文贡献者