Usage Instructions
Explains the meaning of each parameter when viewing scheduled task reports.
1. Attribute Collections
The following are attribute collections commonly used across multiple operations.
ELEMENT (Element Selector Attributes)
Used for operations that require locating page elements.
| Attribute |
Default Value |
Description |
element_type |
element_selector |
Element type: element_selector for element selector; element_object for stored element object. |
element_object |
|
Element object. |
desc |
|
Description. |
use_offset |
false |
Whether to use an offset. |
x |
|
X-coordinate (offset). |
y |
|
Y-coordinate (offset). |
fixed_value |
1 |
Fixed value. |
interval_max |
50 |
Maximum interval (range value). |
interval_min |
1 |
Minimum interval (range value). |
type |
fixed_value |
Type: interval_random for interval value; fixed_value for fixed value. |
save_result |
|
Variable name for saving the result. |
selector_bean_list |
[{ fullId: '' }] |
Selector list. |
selector_condition |
contain |
Selector condition: contain for contains; equal for equals. |
waiting_time |
3000 |
Waiting time (ms). |
exception_type |
2 |
Exception handling type. |
COORDINATE (Coordinate Attributes)
Used for operations based on click coordinates or long-press coordinates.
| Attribute |
Default Value |
Description |
x_coordinate |
|
X-coordinate. |
y_coordinate |
|
Y-coordinate. |
random_distance |
0 |
Random distance. |
desc |
|
Description. |
exception_type |
2 |
Exception handling type. |
CHILDREN (Sub-process Attributes)
Used for operations containing child nodes (e.g., loops, conditional judgments, exception flow handling).
| Attribute |
Default Value |
Description |
children |
{ nodes: [], edges: [] } |
Sub-process data. |
desc |
|
Description. |
exception_type |
2 |
Exception handling type. |
exception_type (Exception Handling Type)
| Attribute |
Default Value |
1 |
Follow global settings. |
2 |
Skip. |
3 |
Interrupt (abort). |
4 |
Execute exception flow. |
2. Page Operations
The following describes the action attribute.
| Attribute |
Default Value |
Description |
action |
NOTES |
Node type. |
content |
|
Comment content. |
OPEN_APP (Open Application)
| Attribute |
Default Value |
Description |
action |
OPEN_APP |
Node type. |
package_name |
|
Package name. |
uri |
|
URI scheme. |
desc |
|
Description. |
exception_type |
2 |
Exception handling type. |
PAGE_BACK (Page Back/Navigate Back)
| Attribute |
Default Value |
Description |
action |
PAGE_BACK |
Node type. |
exception_type |
2 |
Exception handling type. |
KEYBOARD_OPERATION (Keyboard Operation)
| Attribute |
Default Value |
Description |
action |
KEYBOARD_OPERATION |
Node type. |
keyboard_key |
enter |
Key to press: enter for Enter key, delete for Delete key. |
desc |
|
Description. |
exception_type |
2 |
Exception handling type. |
PAGE_SCREENSHOT (Page Screenshot)
| Attribute |
Default Value |
Description |
action |
PAGE_SCREENSHOT |
Node type. |
desc |
|
Description. |
exception_type |
2 |
Exception handling type. |
SLIDE_PAGE (Slide Page)
| Attribute |
Default Value |
Description |
action |
SLIDE_PAGE |
Node type. |
element_type |
slide_page |
Element type: slide_page for swipe page, element_object for stored element object. |
element_object |
|
Element object. |
desc |
|
Description. |
direction |
down |
Swipe direction: up, down, left, right. |
end_distance |
150 |
Swipe end distance. |
end_duration |
300 |
Swipe duration end time (ms). |
end_location |
20 |
Element interval end position (%). |
start_location |
10 |
Element interval start position (%). |
use_interval |
false |
Whether to use the element interval. |
position_x |
100 |
Initial point X-axis. |
position_y |
150 |
Initial point Y-axis. |
start_distance |
100 |
Swipe start distance. |
start_duration |
200 |
Swipe duration start time (ms). |
random_start_range |
0 |
Start point random range. |
exception_type |
2 |
Exception handling type. |
UPLOAD_FILE (Upload File)
| Attribute |
Default Value |
Description |
action |
UPLOAD_FILE |
Node type. |
desc |
|
Description. |
upload_type |
custom |
Upload type: custom for custom; task for using task options. |
files |
[] |
List of files to upload. |
task_id |
|
Task ID. |
exception_type |
2 |
Exception handling type. |
EXECUTE_ADB (ADB)
| Attribute |
Default Value |
Description |
action |
EXECUTE_ADB |
Node type. |
adb_command |
|
ADB command. |
desc |
|
Description. |
save_result |
|
Variable name to save the command output text. |
timeout |
30000 |
Timeout duration (ms). |
exception_type |
2 |
Exception handling type. |
CLICK_ELEMENT (Click Element)
- Action:
CLICK_ELEMENT
- Mixin:
ELEMENT
LONG_ELEMENT (Long Press Element)
- Action:
LONG_ELEMENT
- Mixin:
ELEMENT
CLICK_COORDINATE (Click Coordinates)
- Action:
CLICK_COORDINATE
- Mixin:
COORDINATE
LONG_COORDINATE (Long Press Coordinates)
- Action:
LONG_COORDINATE
- Mixin:
COORDINATE
INPUT_CONTENT (Input Content)
- Action:
INPUT_CONTENT
- Mixin:
ELEMENT (partial attributes)
3. Wait Operations
WAIT_TIME (Wait Time)
| Attribute |
Default Value |
Description |
action |
WAIT_TIME |
Node type. |
desc |
|
Description. |
fixed_time |
3000 |
Fixed time (ms). |
type |
fixed_value |
Type: fixed_value for fixed value; interval_random for interval random. |
end_time |
30000 |
Interval random end time (ms). |
start_time |
1000 |
Interval random start time (ms). |
exception_type |
2 |
Exception handling type. |
WAIT_FOR_SELECTOR (Wait for Element)
- Mixin:
ELEMENT (partial attributes)
| Attribute |
Default Value |
Description |
action |
WAIT_FOR_SELECTOR |
Node type. |
waiting_time |
30000 |
Waiting time (ms). |
4. Data Acquisition
GET_SINGLE_ELEMENT_TEXT (Obtain text data of an element)
- Action:
GET_SINGLE_ELEMENT_TEXT
- Mixin:
ELEMENT
GET_EMAIL (Get Email)
| Attribute |
Default Value |
Description |
action |
GET_EMAIL |
Node type. |
desc |
|
Description. |
email_account |
|
Email account. |
email_title |
|
Email subject. |
extraction_rule |
|
Extraction rule. |
password |
|
Password / Authorization code. |
port |
993 |
Port. |
save_result |
|
Variable name to save the result. |
sender |
|
Sender. |
server |
|
Server. |
is_junk |
0 |
Whether it is junk mail. |
timeout |
60000 |
Timeout duration (ms). |
exception_type |
2 |
Exception handling type. |
NET_REQUEST (Initiate Network Request)
| Attribute |
Default Value |
Description |
action |
NET_REQUEST |
Node type. |
desc |
|
Description. |
header_bean_list |
[] |
Header list. |
request_body |
|
Request body. |
request_type |
post |
Request type. |
response_bean_list |
[] |
Response list. |
request_url |
|
Request URL. |
extraction_rule |
|
Extraction rule. |
save_result |
|
Variable name to save the result. |
exception_type |
2 |
Exception handling type. |
| Attribute |
Default Value |
Description |
action |
TEXT_EXTRACTION |
Node type. |
extraction_rule |
|
Extraction rule. |
use_variable |
|
Use variable. |
save_result |
|
Variable name to save the extracted text result. |
desc |
|
Description. |
exception_type |
2 |
Exception handling type. |
OUTPUT_LOG (Output Log)
| Attribute |
Default Value |
Description |
action |
OUTPUT_LOG |
Node type. |
desc |
|
Description. |
output_log_content |
|
Log content. |
exception_type |
2 |
Exception handling type. |
WRITE_TEXT (Write Text to File)
| Attribute |
Default Value |
Description |
action |
WRITE_TEXT |
Node type. |
desc |
|
Description. |
path_file_name |
|
File path / name. |
text_content |
|
Text content. |
exception_type |
2 |
Exception handling type. |
INSTALL_APP (Install Application)
| Attribute |
Default Value |
Description |
action |
INSTALL_APP |
Node type. |
app_id |
|
App ID. |
app_name |
|
App name. |
app_version |
|
App version. |
app_version_name |
|
App version name. |
source |
platform |
Source. |
desc |
|
Description. |
exception_type |
2 |
Exception handling type. |
5. Process Control
IF_CONDITION (IF Condition)
| Attribute |
Default Value |
Description |
action |
IF_CONDITION |
Node type. |
condition_bean |
{ random: [{ value: '50' }] } |
Condition. |
apposition |
and |
Logical relation (and, or). |
FOR_DATA (For Loop - Data)
| Attribute |
Default Value |
Description |
action |
FOR_DATA |
Node type. |
enter_bulk_text |
|
Input batch text. |
save_result |
|
Variable name to save the result. |
FOR_TIMES (For Loop - Times)
| Attribute |
Default Value |
Description |
action |
FOR_TIMES |
Node type. |
fixed_value |
5 |
Fixed value. |
interval_max |
10 |
Interval random maximum value. |
interval_min |
1 |
Interval random minimum value. |
type |
fixed_value |
Type (fixed_value for fixed value, interval_random for interval random). |
BREAK_LOOP (Break Loop)
| Attribute |
Default Value |
Description |
action |
BREAK_LOOP |
Node type. |
exception_type |
2 |
Exception handling type. |
END_TASK (End Task)
| Attribute |
Default Value |
Description |
action |
END_TASK |
Node type. |
exception_type |
2 |
Exception handling type. |
OUTLOOK_EMAIL (Outlook)
| Attribute |
Default Value |
Description |
action |
OUTLOOK_EMAIL |
Node type. |
client_id |
|
Client ID. |
desc |
|
Description. |
email_account |
|
Email account. |
email_password |
|
Email password. |
email_token |
|
Token. |
email_title |
|
Email subject. |
extraction_rule |
|
Extraction rule. |
save_result |
|
Variable name to save the result. |
sender |
|
Sender. |
is_junk |
0 |
Whether it is junk mail. |
timeout |
60000 |
Timeout duration (ms). |
exception_type |
2 |
Exception handling type. |