Files
skill-template/evals/rpa-flow.md
chendelian 4a0be93b4a
All checks were successful
技能自动化发布 / release (push) Successful in 5s
chore: auto release commit (2026-07-03 12:09:55)
2026-07-03 12:09:55 +08:00

23 lines
1.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Amazon 结算报表下载 — RPA 操作流程(老师参考)
共 9 步,对应 `scripts/service/amazon_report_adapter/simulator_rpa.py``development/REQUIREMENTS.md §9`
1. **获取账号**:通过 account-manager 租用 `amazon_sim` 网页账号,取得浏览器 profile 与租约 token。
2. **启动浏览器**:使用持久化 profile 启动 Chrome/EdgeURL 不写入 launch 参数)。
3. **确保登录**:打开仿真登录页,按账号策略完成登录(邮箱 + Continue已登录则跳过
4. **进入 Reports 页**`page.goto` 打开线上 Reports URL等待 `reports-page-root`
5. **切换 Payments 分类**Settlement 在 Payments Tab 下(默认 Fulfillment 需切换)。
6. **选择报表类型**:点击 `reports-type-item-settlement`All Statements
7. **填写并提交**:输入起止日期、可选店铺,点击 Request report。
8. **等待生成**:轮询任务列表直至状态 `DONE`(约 13 秒,最长 60 秒)。
9. **下载文件**:点击 Download保存 xlsx 到 `{skill_data_dir}/downloads/`,释放租约,写入任务日志。
## 联调截图 / 录屏(占位)
- 成功截图:`evals/screenshots/settlement-download-success.png`(联调后补充)
- 录屏:`{skill_data_dir}/videos/download-settlement-report-amazon_*.mp4``OPENCLAW_RECORD_VIDEO=1` 时)
## 已知阻塞
线上 Reports 页若未渲染 Payments Tab 按钮,步骤 5 将失败mock 档位不受影响。详见 `development/REQUIREMENTS.md` §9。