《携程无线app自动化测试实践》由会员分享,可在线阅读,更多相关《携程无线app自动化测试实践(22页珍藏版)》请在金锄头文库上搜索。
1、携程无线App自动化测试实 践 Background 业务 Traffic :70% 来自于无线 App 累计下载量: 8 亿 APP 累计激活: 2亿 IOS/Android 比例:1.4/1 Agenda Mobile Testing Infrastructure Automation Platform as a Service Mobile App Testing in Ctrip Mobile Testing Infrastructure roadmap 模拟器 一拖多 Grid Mobile Testing Infrastructure 真机测试 并行运行 一拖二 分布式 CIMas
2、ter /Slave Device Pool 机型: 19 数量: 100+ 覆盖无线用户: 80% Device Monitor & Management Wifi掉线 弹框 手机重启 远程调试 TestNG Test PlanDeviceReport Data Provider Context Util Automation Platform as a Service Portal Monitor Appium Driver CI Jenkins Mobile Testing Infrastructure Framework - APP Testing Process 多机型兼容 并行运行
3、 报告聚合 APaaS Lifecycle 痛点 如何推广 如何快速开始 如何调度设备 如何查看报表 APaaS Create Project APaaS Project Kick off APaaS Check Report Continues Integration background Current Status BU数量多(10+) 集成测试时间 短(1周) 发布频率高(2周) Problems 编译失败 安装失败 频道页面进不去 App Size 过大 各项指标是否健康 Continues Integration Lifecycle Continues Integration Pl
4、atform Achievements 人力节约 3 man power /发布周期 封板时间 提前 5h * N BUs 测试时间 多出 3h * N BUs/Day 查看聚合结果 查看单个设备运行结果 冒烟测试 多机兼容测试 错误结 果图像倒排方便查看 页面内容长度+图像比对 测试结 果聚合提高综合结果正确率 专项测试 安装卸载 冷热启动 启动时间 崩溃测试 性能指标 竞品比对 历史包比对 App Size 分析 Hybrid/Native Size 用户下载流量 App Store 限制 可达性测试 设定baseline 利用遍历检查 baseline是否可 达 深度优先 Recap Mobile Testing Infrastructure Automation Platform as a Service Mobile App Testing in Ctrip