Skip to content

Camera Upload Test Case

Daniel Pan edited this page Sep 17, 2016 · 11 revisions

Turn on Camera Upload

  • When turn on the service, unfold the submenus
  • hide them, otherwise
  • When the service is on, upload photos from custom directories automatically
  • Auto upload new photos or videos
Change Upload Library

it should behaves as described below

  • Click Change Upload Library, popup a window to let user choose a library
  • If there are more than one accounts, choose account first
  • then choose library under the account
  • restart to upload photos to the selected library after click the OK button

Advanced Feature

Allow 2G/3G/4G Connections
  • if Allow 2G/3G/4G Connections settings on, upload via data plan and wifi
  • upload under wifi only if off
  • auto update behaviors when configuration changed at runtime
Allow Videos Upload
  • if Allow Videos Upload settings on, upload both photos and videos
  • upload photos only if off
  • auto update behaviors when configuration changed at runtime
Custom Upload Directories
  • if Custom Upload Directories on, unfold the submenus
  • hide submenus, otherwise
  • show picked paths if user has selected some upload directories
  • show Auto scan photos by default otherwise
  • If user didn`t custom path even turn on (check the Custom Upload Directories settings), still upload auto scanned photos, and summary text should be correct
  • Turn on CUD and then turn off, see if upload auto scanned photos only

测试的重点

  • 本地路径,第一次初始化时,折叠
  • 第一次启动照片上传服务时,看响应是否正常(异常:上传了一张非指定路径的相片)
  • 关闭自定义路径复选框,但是上传服务保持开启,新拍的照片仍然可以上传(该照片的路径在指定的路径列表中)
  • 关闭自定义路径复选框,接收一个分享文件的文件之后,仍然上传了它(路径并未在指定路径列表中)
  • 本地路径,打开折叠菜单后,显示auto scan,此时需要弹出对话框,让用户选择路径。 如果选中,保存并展示;如果未选中,仍然折叠,并且复选框时未选中的状态
  • 本地路径,如果已经保存了本地路径,打开开关,显示已保存的路径。并且对应的照片可以正常上传,并且不能上传其他路径的照片
  • 分别测试全局助手,cloud,local助手可否正常工作

问题:
(x)自定义本地路径后,第一次选择了internal DCIM,成功,第二次更改成SD卡DCIM成功
但是第二次选择了videos included后,把第一次的DCIM中的video也上传了
(x)即便只指定了一个SD卡上的路径,internal DCIM中的照片仍然被上传了
(x)而且分享来的图片也被上传了
(x)第一次启动配置助手时,即便选择了自定义本地路径,可是CUF的复选框并未勾上,而且summary显示的路径对也不对