You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
502 B
22 lines
502 B
3 weeks ago
|
app.launchApp("小红书");
|
||
|
|
||
|
sleep(3000);
|
||
|
//点击加号
|
||
|
id("dx0").findOne().click()
|
||
|
sleep(3000);
|
||
|
//点击文字
|
||
|
id("bf3").className("android.widget.TextView").text("文字").findOne().parent().click()
|
||
|
|
||
|
//点击编辑
|
||
|
id("caz").findOne().click()
|
||
|
sleep(3000);
|
||
|
//输入文字
|
||
|
id("c3z").findOne().setText("你好,小红书!")
|
||
|
//点击下一步
|
||
|
id("bey").findOne().click()
|
||
|
sleep(3000);
|
||
|
//点击下一步
|
||
|
id("g5p").findOne().click()
|
||
|
sleep(3000);
|
||
|
//发布
|
||
|
id("amn").findOne().click()
|