上汽通用经销商WiFi运营项目-TestCase电商后端.doc_第1页
上汽通用经销商WiFi运营项目-TestCase电商后端.doc_第2页
上汽通用经销商WiFi运营项目-TestCase电商后端.doc_第3页
上汽通用经销商WiFi运营项目-TestCase电商后端.doc_第4页
上汽通用经销商WiFi运营项目-TestCase电商后端.doc_第5页
已阅读5页,还剩12页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

上汽通用经销商上汽通用经销商 WiFi 运营项目运营项目-电商后端电商后端 System Test Cases Current Version: V0.2 Owner:周舟 Date Last Updated:2016-07-19 Last Updated By: 周舟 Author: 周舟 Date Created: 2016-06-23 Approved By: Approval Date: SGM_ Wifi 运营项目 System Test Cases Doc. Version 0.2 SDP-21Template Version 1.0 Page 2 of 17 Revision History Version Number Date UpdatedRevision AuthorBrief Description of Changes 0.12016-06-23周舟Initial document created. 0.22016-07-19周舟增加接口部分用例 Instructions: For the suggested topics below, replace with project specific information. Some of the topics may not apply to all projects. In the topics where a response is optional, a choice, “N/A for this report” is included in the instructions. SGM_ Wifi 运营项目 System Test Cases Doc. Version 0.2 SDP-21Template Version 1.0 Page 3 of 17 Table of Contents 1OVERVIEW.4 1.1OBJECTIVES.4 2SYSTEM TEST CASES5 2.1SGM_WIFI-OP-014-001: 商品商品列表列表.5 2.2SGM_WIFI-OP-014-002: 商品商品列表分页功能列表分页功能5 2.3SGM_WIFI-OP-014-003: 查询商品列表查询商品列表 .6 2.4SGM_WIFI-OP-014-004: 导出商品列表导出商品列表 .7 2.5SGM_WIFI-OP-014-005: 查看商品详情查看商品详情 .8 2.6SGM_WIFI-OP-014-006: 查看商品订单查看商品订单 .9 2.7SGM_WIFI-OP-014-007: 商品订单页面分页功能商品订单页面分页功能.10 2.8SGM_WIFI-OP-014-008: 导出商品订单导出商品订单 .11 2.9SGM_WIFI-OP-014-009: 订单订单列表列表.12 2.10SGM_WIFI-OP-014-010: 订单订单列表分页功能列表分页功能12 2.11SGM_WIFI-OP-014-012: 查询订单列表查询订单列表 .13 2.12SGM_WIFI-OP-014-013: 接口测试接口测试-数据的完整性数据的完整性14 2.13SGM_WIFI-OP-014-014: 接口测试接口测试-数据的正确性数据的正确性15 SGM_ Wifi 运营项目 System Test Cases Doc. Version 0.2 SDP-21Template Version 1.0 Page 4 of 17 1 Overview 1.1 Objectives 该测试用例文档是针对上汽通用经销商 WiFi 运营项目电商后端设计的系统功能测试用例。该测试 文档可作为软件开发方系统测试使用。 SGM_ Wifi 运营项目 System Test Cases Doc. Version 0.2 SDP-21Template Version 1.0 Page 5 of 17 2 System Test Cases 2.1 SGM_WIFI-OP-014-001: 商品商品列表列表 Test Case ID:SGM_WIFI- OP-014-001 Test Case Name:商品列表商品列表 Brief Description: 正确显示商品列表页面 Inputs:1.成功登录系统 2.点击“在线商城”-“4S 店商品列表” Special Environment Set up: None Prerequisite Tests/ Preconditions: None Expected Result 显示活动列表页面: 默认显示该 4S 店所有商品列表 查询项:品牌、大区、状态、促销类型、状态、经销商编号、经销商名称 商品列表:活动编号、4S 店、商品名称、促销类型、状态、销量、操作 Instructions to tester: Record status upon completion of each step (e.g., “OK” or “NG” with comments). Opposite “Actual Results”, enter “OK” if actual met expected results, or note discrepancies if appropriate. Test Run Log for Test Case ID: SGM_WIFI-OP-001-001 Test Steps Tester ActionStatus (Tester) ID.1Describe a step to be performed by tester ID.2Describe a step to be performed by tester ID.3Describe a step to be performed by tester ID.nDescribe a step to be performed by tester Actual Results (Tester): 2.2 SGM_WIFI-OP-014-002: 商品商品列表分页功能列表分页功能 Test Case ID:SGM_WIFI- OP-014-002 Test Case Name:商品列表分页功能商品列表分页功能 SGM_ Wifi 运营项目 System Test Cases Doc. Version 0.2 SDP-21Template Version 1.0 Page 6 of 17 Brief Description: 正确显示商品列表分页信息 Inputs:1.点击各分页图标链接,页码 2.点击返回键 Special Environment Set up: None Prerequisite Tests/ Preconditions: 1.成功登录系统 2.点击“在线商城”-“4S 店商品列表”进入商品列表页面 Expected Result 1.正确显示相应页面信息 2.返回上一页 Instructions to tester: Record status upon completion of each step (e.g., “OK” or “NG” with comments). Opposite “Actual Results”, enter “OK” if actual met expected results, or note discrepancies if appropriate. Test Run Log for Test Case ID: SGM_WIFI-OP-001-001 Test Steps Tester ActionStatus (Tester) ID.1Describe a step to be performed by tester ID.2Describe a step to be performed by tester ID.3Describe a step to be performed by tester ID.nDescribe a step to be performed by tester Actual Results (Tester): 2.3 SGM_WIFI-OP-014-003: 查询商品列表查询商品列表 Test Case ID:SGM_WIFI- OP-014-003 Test Case Name:查询商品列表查询商品列表 Brief Description: 确认查询功能 Inputs:查询项输入以下值,点击查询 1.置空所有查询项 2.【品牌】:选择待查询的品牌 3.【大区】:选择待查询的大区 4.【审核状态】:选择待查询的审核状态 5.【促销类型】:选择待查询的促销类型 6.【状态】:选择待查询的状态 7.【经销商编号】:输入待查询的经销商编号 SGM_ Wifi 运营项目 System Test Cases Doc. Version 0.2 SDP-21Template Version 1.0 Page 7 of 17 8.【经销商名称】:输入待查询的经销商名称 9.多个选择项组合查询 Special Environment Set up: None Prerequisite Tests/ Preconditions: 1.成功登录系统 2.点击“在线商城”-“4S 店商品列表”进入活动列表页面 Expected Result 1.显示所有记录 2.显示相关品牌的记录,品牌栏位关联【大区】 3.显示相关大区的记录 4.显示相关审核状态的记录 5.显示相关促销类型的记录 6.显示相关状态的记录 7.显示相应经销商编号的记录 8.显示相应经销商名称的记录 9.显示相应符合条件的记录 Instructions to tester: Record status upon completion of each step (e.g., “OK” or “NG” with comments). Opposite “Actual Results”, enter “OK” if actual met expected results, or note discrepancies if appropriate. Test Run Log for Test Case ID: SGM_WIFI-OP-001-001 Test Steps Tester ActionStatus (Tester) ID.1Describe a step to be performed by tester ID.2Describe a step to be performed by tester ID.3Describe a step to be performed by tester ID.nDescribe a step to be performed by tester Actual Results (Tester): 2.4 SGM_WIFI-OP-014-004: 导出商品列表导出商品列表 Test Case ID:SGM_WIFI- OP-014-004 Test Case Name:导出商品列表导出商品列表 Brief Description: 确认导出功能 Inputs:点击导出按钮 Special None SGM_ Wifi 运营项目 System Test Cases Doc. Version 0.2 SDP-21Template Version 1.0 Page 8 of 17 Environment Set up: Prerequisite Tests/ Preconditions: 1.成功登录系统 2.点击“在线商城”-“4S 店商品列表”进入商品列表页面 Expected Result 导出页面数据至本地 导出文件命名格式:yyyymmdd.csv 导出文件格式为 csv 文件 导出文件内容栏位和页面显示栏位保持一致 Instructions to tester: Record status upon completion of each step (e.g., “OK” or “NG” with comments). Opposite “Actual Results”, enter “OK” if actual met expected results, or note discrepancies if appropriate. Test Run Log for Test Case ID: SGM_WIFI-OP-001-001 Test Steps Tester ActionStatus (Tester) ID.1Describe a step to be performed by tester ID.2Describe a step to be performed by tester ID.3Describe a step to be performed by tester ID.nDescribe a step to be performed by tester Actual Results (Tester): 2.5 SGM_WIFI-OP-014-005: 查看商品详情查看商品详情 Test Case ID:SGM_WIFI- OP-014-005 Test Case Name:查看商品详情查看商品详情 Brief Description: 确认商品详情 页面 Inputs:点击操作栏位的“详情”按钮 Special Environment Set up: None Prerequisite Tests/ Preconditions: 1.成功登录系统 2.点击“在线商城”-“4S 店商品列表”进入商品列表页面 Expected Result 显示活动详情页面: 活动编号 活动 4S 店 商品名称 商品描述 SGM_ Wifi 运营项目 System Test Cases Doc. Version 0.2 SDP-21Template Version 1.0 Page 9 of 17 商品原价 活动价 活动类型 单日库存 活动时间 Instructions to tester: Record status upon completion of each step (e.g., “OK” or “NG” with comments). Opposite “Actual Results”, enter “OK” if actual met expected results, or note discrepancies if appropriate. Test Run Log for Test Case ID: SGM_WIFI-OP-001-001 Test Steps Tester ActionStatus (Tester) ID.1Describe a step to be performed by tester ID.2Describe a step to be performed by tester ID.3Describe a step to be performed by tester ID.nDescribe a step to be performed by tester Actual Results (Tester): 2.6 SGM_WIFI-OP-014-006: 查看商品订单查看商品订单 Test Case ID:SGM_WIFI- OP-014-006 Test Case Name:查看商品订单查看商品订单 Brief Description: 确认商品订单页面 Inputs:点击操作栏位的“查看订单”按钮 Special Environment Set up: None Prerequisite Tests/ Preconditions: 1.成功登录系统 2.点击“在线商城”-“4S 店商品列表”进入活动列表页面 3.点击操作栏位的“查看订单”按钮进入订单页面 Expected Result 显示订单详情页面: 活动 ID、名称、订单数 订单列表:订单号、活动 ID、品名、活动类型、活动价、下单时间、下单 手机号 SGM_ Wifi 运营项目 System Test Cases Doc. Version 0.2 SDP-21Template Version 1.0 Page 10 of 17 Instructions to tester: Record status upon completion of each step (e.g., “OK” or “NG” with comments). Opposite “Actual Results”, enter “OK” if actual met expected results, or note discrepancies if appropriate. Test Run Log for Test Case ID: SGM_WIFI-OP-001-001 Test Steps Tester ActionStatus (Tester) ID.1Describe a step to be performed by tester ID.2Describe a step to be performed by tester ID.3Describe a step to be performed by tester ID.nDescribe a step to be performed by tester Actual Results (Tester): 2.7 SGM_WIFI-OP-014-007: 商品订单页面分页功能商品订单页面分页功能 Test Case ID:SGM_WIFI- OP-014-007 Test Case Name:商品订单页面分页功能商品订单页面分页功能 Brief Description: 正确显示商品订单分页信息 Inputs:1.点击各分页图标链接,页码 2.点击返回键 Special Environment Set up: None Prerequisite Tests/ Preconditions: 1.成功登录系统 2.点击“在线商城”-“4S 店商品列表”进入活动列表页面 3.点击操作栏位的“查看订单”按钮进入订单页面 Expected Result 1.正确显示相应页面信息 2.返回上一页 Instructions to tester: Record status upon completion of each step (e.g., “OK” or “NG” with comments). Opposite “Actual Results”, enter “OK” if actual met expected results, or note discrepancies if appropriate. Test Run Log for Test Case ID: SGM_WIFI-OP-001-001 Test Steps Tester ActionStatus (Tester) ID.1Describe a step to be performed by tester ID.2Describe a step to be performed by tester ID.3Describe a step to be performed by tester SGM_ Wifi 运营项目 System Test Cases Doc. Version 0.2 SDP-21Template Version 1.0 Page 11 of 17 Test Run Log for Test Case ID: SGM_WIFI-OP-001-001 Test Steps Tester ActionStatus (Tester) ID.nDescribe a step to be performed by tester Actual Results (Tester): 2.8 SGM_WIFI-OP-014-008: 导出商品订单导出商品订单 Test Case ID:SGM_WIFI- OP-014-008 Test Case Name:导出商品订单导出商品订单 Brief Description: 确认导出功能 Inputs:点击导出按钮 Special Environment Set up: None Prerequisite Tests/ Preconditions: 1.成功登录系统 2.点击“在线商城”-“4S 店商品列表”进入活动列表页面 3.点击操作栏位的“查看订单”按钮进入订单页面 Expected Result 导出页面数据至本地 导出文件命名格式:yyyymmdd.csv 导出文件格式为 csv 文件 导出文件内容栏位和页面显示栏位保持一致 Instructions to tester: Record status upon completion of each step (e.g., “OK” or “NG” with comments). Opposite “Actual Results”, enter “OK” if actual met expected results, or note discrepancies if appropriate. Test Run Log for Test Case ID: SGM_WIFI-OP-001-001 Test Steps Tester ActionStatus (Tester) ID.1Describe a step to be performed by tester ID.2Describe a step to be performed by tester ID.3Describe a step to be performed by tester ID.nDescribe a step to be performed by tester Actual Results (Tester): SGM_ Wifi 运营项目 System Test Cases Doc. Version 0.2 SDP-21Template Version 1.0 Page 12 of 17 2.9 SGM_WIFI-OP-014-009: 订单订单列表列表 Test Case ID:SGM_WIFI- OP-014-009 Test Case Name:订单列表订单列表 Brief Description: 正确显示订单列表页面 Inputs:1.成功登录系统 2.点击“在线商城”-“订单查询” Special Environment Set up: None Prerequisite Tests/ Preconditions: None Expected Result 显示订单列表页面: 默认显示 4S 店所有订单信息 查询项:订单号、下单手机号、商家名、活动 ID、下单时间 订单列表:订单号、活动 ID、订单类型、商家、商品、下单时间、下单手 机 Instructions to tester: Record status upon completion of each step (e.g., “OK” or “NG” with comments). Opposite “Actual Results”, enter “OK” if actual met expected results, or note discrepancies if appropriate. Test Run Log for Test Case ID: SGM_WIFI-OP-001-001 Test Steps Tester ActionStatus (Tester) ID.1Describe a step to be performed by tester ID.2Describe a step to be performed by tester ID.3Describe a step to be performed by tester ID.nDescribe a step to be performed by tester Actual Results (Tester): 2.10SGM_WIFI-OP-014-010: 订单订单列表分页功能列表分页功能 Test Case ID:SGM_WIFI- OP-014-010 Test Case Name:订单列表分页功能订单列表分页功能 Brief Description: 正确显示订单列表分页信息 SGM_ Wifi 运营项目 System Test Cases Doc. Version 0.2 SDP-21Template Version 1.0 Page 13 of 17 Inputs:1.点击各分页图标链接,页码 2.点击返回键 Special Environment Set up: None Prerequisite Tests/ Preconditions: 1.成功登录系统 2.点击“在线商城”-“订单查询”进入订单列表页面 Expected Result 1.正确显示相应页面信息 2.返回上一页 Instructions to tester: Record status upon completion of each step (e.g., “OK” or “NG” with comments). Opposite “Actual Results”, enter “OK” if actual met expected results, or note discrepancies if appropriate. Test Run Log for Test Case ID: SGM_WIFI-OP-001-001 Test Steps Tester ActionStatus (Tester) ID.1Describe a step to be performed by tester ID.2Describe a step to be performed by tester ID.3Describe a step to be performed by tester ID.nDescribe a step to be performed by tester Actual Results (Tester): 2.11SGM_WIFI-OP-014-012: 查询订单列表查询订单列表 Test Case ID:SGM_WIFI- OP-014-012 Test Case Name:查询订单列表查询订单列表 Brief Description: 确认查询功能 Inputs:查询项输入以下值,点击查询 1.置空所有查询项 2.【订单号】:输入待查询的订单号 3.【下单手机号】:输入待查询的手机号 4.【商家名】:输入待查询的商家名 5.【活动 ID】:输入待查询的活动 ID 6.【下单时间】:输入下单开始时间,下单结束时间置空 7.【下单时间】:输入下单结束时间,下单开始时间置空 8.【下单时间】:输入下单开始时间大于下单结束时间 9.多个选择项组合查询 SGM_ Wifi 运营项目 System Test Cases Doc. Version 0.2 SDP-21Template Version 1.0 Page 14 of 17 Special Environment Set up: None Prerequisite Tests/ Preconditions: 1.成功登录系统 2.点击“在线商城”-“订单查询”进入订单列表页面 Expected Result 1.显示所有记录 2.显示相应订单号的记录 3.显示相应下单手机号的记录 4.显示相应商家名的记录 5.显示相应活动 ID 的记录 6.显示相应时间段的记录 7.显示相应时间段的记录 8.系统提示 9.显示相应符合条件的记录 Instructions to tester: Record status upon completion of each step (e.g., “OK” or “NG” with comments). Opposite “Actual Results”, enter “OK” if actual met expected results, or note discrepancies if appropriate. Test Run Log for Test Case ID: SGM_WIFI-OP-001-001 Test Steps Tester ActionStatus (Tester) ID.1Describe a step to be performed by tester ID.2Describe a step to be performed by tester ID.3Describe a step to be performed by tester ID.nDescribe a step to be performed by tester Actual Results (Tester): 2.12SGM_WIFI-OP-014-013: 接口测试接口测试-数据的完整性数据的完整性 Test Case ID:SGM_WIFI- OP-014-013 Test Case Name:接口测试接口测试-数据的完整性数据的完整性 Brief Description: 确认接口数据的完整性 Inputs:根据接口文档,获取下列数据栏位: 1.【Id】:自媒体系统 id 2.【DealerCode】:经销商售前 code 3.【isSeckill】:秒杀/常规 4.【picUrl】:图片 url SGM_ Wifi 运营项目 System Test Cases Doc. Version 0.2 SDP-21Template Version 1.0 Page 15 of 17 5.【name】:商品名称 6.【desc】:产品描述 7.【stock】:数量 8.【discountPrice】:活动价格 9.【originalPrice】:原价 10. 【start】:周期开始时间 11. 【end】:周期结束时间 12. 【startTime】:开始时间 13. 【endTime】:结束时间 14. 【period】:周期 15. 【telephones】:经销商电话 16. 【status】:状态 17. 【submitTime】:提交审核日期 18. 【approvalTime】:审核通过日期 19. 【verifier】:审核人员账号 20. 【updateTime】:记录更新时间 21. 【creatTime】:记录创建时间 Special Environment Set up: None Prerequisite Tests/ Preconditions: None Expected Result 后台系统成功获取完成的数据 Instructions to tester: Record status upon completion of each step (e.g., “OK” or “NG” with comments). Opposite “Actual Results”, enter “OK” if actual met expected results, or note discrepancies if appropriate. Test Run Log for Test Case ID: SGM_WIFI-OP-001-001 Test Steps Tester ActionStatus (Tester) ID.1Describe a step to be performed by tester ID.2Describe a step to be performed by tester ID.3Describe a step to be performed by tester ID.nDescribe a step to be performed by tester Actual Results (Tester): 2.13SGM_WIFI-OP-014-014: 接口测试接口测试-数据的正确性数据的正确性 SGM_ Wifi 运营项目 System Test Cases Doc. Version 0.2 SDP-21Template Version 1.0 Page 16 of 17 Test Case ID:SGM_WIFI- OP-014-014 Test Case Name:接口测试接口测试-数据的正确性数据的正确性 Brief Description: 确认接口数据的正确性 Inputs:根据接口文档,获取下列数据栏位,确保数据符合定义的数据类型 1.【Id】:不能为空 2.【DealerCode】:不能为空 3.【isSeckill】:不能为空;true 是秒杀,false 为常规 4.【picUrl】:不能为空;显示有效链接 5.【name】:不能为空;文本,长度 15 6.【desc】:不能为空;文本,长度 20 7.【stock】:如为秒杀活动,则不能为空;如常规活动,则为空 8.【discountPrice】:不能为空,两位小数 9.【originalPrice】:不能为空,两位小数 10. 【start】:如为秒杀活动,则不能为空;年月日 yyyy-MM-dd 11. 【end】:如为秒杀活动,则不能为空;年月日 yyyy-MM-dd 12. 【startTime】:如为秒杀活动,则不能为空;时分秒 HH:mm:ss 13. 【endTime】:如为秒杀活动,则不能为空;时分秒 HH:mm:ss 14. 【period】:“MON“, “TUE“, “WEN“, “THU“, “FRI“, “STA“, “SUN“,/如果 哪一天没有选择,则数组中就没有相应的值 15. 【telephones】: 可为空 16. 【status】:系统生成栏位;ENABLE(上架),DISABLE(下架), REFUSED(拒绝),OVERDUE(审核过期) 17. 【submitTime】:系统生成 18. 【approvalTime】:系统生成 19.

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论