生成埋点校验用的测试用例表
手工写测试用例耗时易漏,参数字段和验证逻辑常与开发理解不一致,返工率高。
有人这样说「这埋点校验表又得我来填,明天要交还一堆漏斗没对齐,头大。」
能替你选的都选好了。不想动,直接点下面「交给 AI 办」,点一下就开始做;想改,就点一下要的那个。
已替你选好想改就点一下
只有你知道的不填就先空着,成品里留【待填】
还想怎么改可以不选
开工前请确认
高级选项一般不用动 · 这件事通常 1–3 分钟做好
示例成品全文按上面这组示例选项真跑出来的
已按你要求生成 TOP10 高漏斗流失事件埋点校验用例表,共 5 个 Sheet,按页面路径分组。
你上传的 3 个事件已覆盖,另按核心转化漏斗补充 7 个高流失事件,补充项已标🟡/🔴待对齐。
颜色规则:
- 🔴 红底:字段缺失/异常
- 🟡 黄底:待对齐/需开发确认
- 🟢 绿底:预期通过
以下每个代码块对应一个 Sheet,复制到 Excel 的 A1 单元格即可分列,然后可按“异常标注”列设置条件格式。
Sheet1 商品详情页/购物车
事件名称 页面路径 触发场景描述 预期参数列表 验证方式 典型异常路径 判定标准 异常标注 开发沟通话术
商品详情页_加购点击 /product/detail 用户点击“加入购物车”按钮 event_name; page_path; product_id; sku_id; user_id; session_id; timestamp 日志+截图 未登录点击加购;库存为0;SKU未选择 product_id、sku_id非空且格式合法;user_id或session_id至少一个非空 🟢 正常 无
购物车页_去结算点击 /cart 用户在购物车页点击“去结算”按钮 event_name; page_path; cart_id; product_list; total_amount; user_id; session_id; timestamp 日志+截图 购物车为空;商品下架;价格变动 cart_id、product_list非空;total_amount为数字且>=0 🟡 待对齐 product_list 上报结构 购物车结算事件需确认 product_list 是否上报及结构,当前无法校验商品明细。
购物车页_库存校验失败 /cart 用户点击“去结算”或“提交订单”时,因库存不足导致失败 event_name; page_path; product_id; sku_id; stock_quantity; fail_reason; error_code; user_id; session_id; timestamp 日志+接口 库存不足;SKU下架;限购 product_id、sku_id、fail_reason非空;stock_quantity为数字 🔴 缺失 fail_reason 字段 库存校验失败事件未上报 fail_reason,无法区分缺货/下架,请补充 fail_reason 和 error_code。Sheet2 订单确认/结算
事件名称 页面路径 触发场景描述 预期参数列表 验证方式 典型异常路径 判定标准 异常标注 开发沟通话术
订单确认页_提交订单失败(用户下单失败) /checkout/confirm 用户点击“提交订单”后,因库存、风控、地址校验等原因失败 event_name; page_path; order_id(如有); product_list; total_amount; fail_reason; error_code; user_id; session_id; timestamp 日志+接口+截图 库存不足;风控拦截;地址不完整;优惠券冲突 fail_reason、error_code非空;order_id若存在格式合法;total_amount为数字 🔴 缺失 fail_reason/error_code 字段 用户下单失败事件未上报 fail_reason 和 error_code,无法归因失败原因,请补充。
订单确认页_地址校验失败 /checkout/confirm 用户提交订单时,因地址不完整或不在配送范围导致失败 event_name; page_path; address_id; fail_reason; error_code; user_id; session_id; timestamp 日志+接口 地址为空;超出配送范围;手机号格式错误 fail_reason、error_code非空;address_id若存在格式合法 🟡 待对齐 address_id 是否必传 地址校验失败事件需确认 address_id 字段是否必传,当前无法定位具体地址问题。Sheet3 优惠券/促销
事件名称 页面路径 触发场景描述 预期参数列表 验证方式 典型异常路径 判定标准 异常标注 开发沟通话术
订单确认页_优惠券未生效 /checkout/confirm 用户选择优惠券后,提交订单时优惠券未生效或提示不可用 event_name; page_path; coupon_id; coupon_type; discount_amount; order_amount; fail_reason; user_id; session_id; timestamp 日志+截图+接口 优惠券过期;未满足门槛;叠加冲突;用户手动取消 coupon_id非空;discount_amount为数字;fail_reason非空(若失败) 🔴 缺失 coupon_id 或 fail_reason 字段 优惠券未生效事件缺少 coupon_id,无法定位具体券,请补充 coupon_id 和 fail_reason。Sheet4 收银台/支付
事件名称 页面路径 触发场景描述 预期参数列表 验证方式 典型异常路径 判定标准 异常标注 开发沟通话术
收银台_唤起支付失败 /cashier 用户点击“立即支付”后,支付渠道唤起失败 event_name; page_path; order_id; pay_channel; pay_amount; fail_reason; error_code; user_id; session_id; timestamp 日志+接口+截图 渠道未安装;参数错误;网络异常 order_id、pay_channel、fail_reason非空;pay_amount为数字 🔴 缺失 pay_channel 或 fail_reason 字段 唤起支付失败事件未上报 pay_channel,无法区分渠道失败,请补充 pay_channel 和 fail_reason。
收银台_支付超时中断 /cashier 用户停留在收银台超过N秒未完成支付,或支付过程中超时返回 event_name; page_path; order_id; pay_channel; pay_amount; timeout_duration; user_id; session_id; timestamp 日志+接口 用户主动取消;支付页挂起;回调超时 order_id、timeout_duration非空;timeout_duration为数字 🟡 待对齐 timeout_duration 是否上报 支付超时中断事件需确认 timeout_duration 字段口径,当前无法计算超时阈值。
收银台_支付成功回调缺失 /cashier 第三方支付渠道返回成功,但客户端/服务端未收到回调或回调延迟 event_name; page_path; order_id; pay_channel; pay_amount; callback_status; user_id; session_id; timestamp 接口+日志 回调丢失;回调重复;签名错误 order_id、callback_status非空;callback_status取值合法 🔴 缺失 callback_status 字段 支付成功回调事件需上报 callback_status,当前无法核对渠道回调是否成功。Sheet5 支付结果/订单状态
事件名称 页面路径 触发场景描述 预期参数列表 验证方式 典型异常路径 判定标准 异常标注 开发沟通话术
支付结果页_支付成功但订单状态未更新 /pay/result 用户支付成功,但订单状态仍为待支付,导致用户重复支付或投诉 event_name; page_path; order_id; pay_amount; order_status; pay_sta