forked from hhj/subscript_template
53 lines
1.5 KiB
JSON
53 lines
1.5 KiB
JSON
{
|
|
"key": -1,
|
|
"name": "Test Subscription",
|
|
"version": "0.0.1_beta",
|
|
"global": {
|
|
"name": "全局测试",
|
|
"rules": [
|
|
{
|
|
"key": 0,
|
|
"selector": "[text='记账']",
|
|
"action": "click",
|
|
"actionDelay": 50
|
|
}
|
|
],
|
|
"apps": [
|
|
{
|
|
"id": "tech.cqxqg.hhjapp",
|
|
"enable": true
|
|
}
|
|
]
|
|
},
|
|
"apps": [
|
|
{
|
|
"packageName": "tech.cqxqg.hhjapp",
|
|
"name": "小新记账",
|
|
"version": "1.0.0",
|
|
"rules": [
|
|
{
|
|
"key": 0,
|
|
"selector": "[text='记账']",
|
|
"action": "click"
|
|
},
|
|
{
|
|
"key": 1,
|
|
"selector": "[desc='备注'] + Button + EditText",
|
|
"action": "click",
|
|
"actionDelay": 50,
|
|
"activityId": "tech.cqxqg.hhjapp.MainActivity",
|
|
"classId": ""
|
|
},
|
|
{
|
|
"key": 2,
|
|
"selecotr": "[desc='备注'] + Button + EditText]",
|
|
"preAction": 1,
|
|
"action": "setText",
|
|
"args": "自动填充内容",
|
|
"activityId": "tech.cqxqg.hhjapp.MainActivity",
|
|
"classId": ""
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |