正在打开每日关注
正在打开每日关注
让 Agent 像首次用户一样完成注册、结账和设置,以真实点击暴露单测遗漏的体验问题。
𝗥𝗲𝗮𝗹 𝘂𝘀𝗲𝗿 𝘄𝗮𝗹𝗸 open [url] with browser/computer control and actually walk each of these real user paths end to end, no reading the code and guessing: [sign up], [checkout], [change settings]. at every step really click, type, wait, screenshot, and log anything that would trip up someone opening it for the first time: slow loads, errors, copy that makes no sense, buttons you can't find, unclear state, data lost on back. output a report ranked by severity, each with repro steps + the root cause you judge + a suggested fix, then fix it yourself and walk it again to confirm no regression. 𝘁𝗿𝗲𝗮𝘁 𝗺𝗲 𝗮𝘀 𝘀𝗼𝗺𝗲𝗼𝗻𝗲 𝗼𝗽𝗲𝗻𝗶𝗻𝗴 𝗶𝘁 𝗳𝗼𝗿 𝘁𝗵𝗲 𝗳𝗶𝗿𝘀𝘁 𝘁𝗶𝗺𝗲 𝘄𝗵𝗼'𝘀 𝗻𝗲𝘃𝗲𝗿 𝗿𝗲𝗮𝗱 𝘁𝗵𝗲 𝗰𝗼𝗱𝗲. → caught interactions that passed every unit test but wouldn't click through on a real phone.
是什么 这是一套面向 Agent 的真实用户走查方法:要求 Agent 不依赖代码阅读或推测,而是以首次访问者身份,逐步完成注册、结账和设置等关键路径,并记录每个交互节点的实际表现。它关注的不是接口是否存在,而是用户能否理解、找到并顺利完成目标。
核心方法 流程将“点击、输入、等待、截图、记录”作为证据链,再按严重性输出复现步骤、可能根因与修复建议,最后重新走查确认没有回归。这把探索式测试、可用性评估和回归验证串成闭环,也让 Agent 的浏览器控制能力服务于真实体验,而不是停留在静态检查。
关键洞察 单元测试只能证明局部逻辑满足预期,无法覆盖加载时序、按钮可发现性、文案理解、状态反馈和返回行为等跨页面问题。真实路径测试因此能补足“功能正确但产品难用”的质量空白,尤其适合移动端和首次使用场景。
边界与风险 这类方法依赖稳定的测试环境、可重复的数据与明确的权限边界;涉及注册、支付或设置修改时,还需避免真实扣款和污染生产数据。Agent 判断根因仍应结合日志与代码验证,不能仅凭表面现象下结论。