当前位置:网站首页>File upload and download test point
File upload and download test point
2022-07-26 18:35:00 【wangmcn】
File upload and download test point
Catalog
1、 Upload files
2、 File download
1、 Upload files
1、 Whether the path can be entered manually
2、 If the uploaded file exceeds the maximum value, check it before submission or after submission
3、 Whether all upload file formats support
4、 Whether the uploaded file supports Chinese name
5、 Maximum value of file name 、 minimum value 、 Special characters ( Include spaces )、 Whether the use of program statements will affect it 、 Whether the Chinese name can be displayed normally
6、 Whether the settings for publishing are correct
7、 Take the maximum value 、 Special characters 、 Whether the use of program statements will affect it
8、 Upload file name test , Check that the file name specification is not met
9、 Upload file name type test , Check whether different file types support such as :.rar,.mp3,.avi etc.
10、 Upload file size test , Check different file sizes, such as :0 Byte file , 1kb, 200kb, 2mb, 20mb,2g etc.
11、 Upload file fault tolerance test : For example, checking the overwrite is the same as file operation
12、 Upload file exception test : Such as insufficient hard disk space
13、 Upload file rate performance test : Check the response speed of uploading different files in different network environments , And system resource occupation
14、 Upload file security test : Such as uploading common Trojans
15、 Upload file usability test : Check whether the operation of uploading files makes it easy for users to learn, understand and use
16、 Upload file feature test : If you support some features such as breakpoint continuation
17、 After uploading the file , Check whether it is consistent with the source file , Including directory settings
18、 Upload files , Whether it can be opened, etc
For uploaded files , Assume that the file that the system requires to upload is jpg or gif Format picture , The size is <=5M The file of , When we design test cases , We should consider the following aspects :
1、 The document type is correct , Verification of appropriate file size
for example : Upload a jpg or gif Format picture , File size is 4.9M or 5M, The result is successful upload
2、 The document type is correct , Verification of improper file size
for example : Upload a jpg or gif Format picture , File size is 5.1M, Prompt for :“ The size of the uploaded attachment cannot exceed 5M”
3、 Wrong file type , Verification of appropriate file size
for example : Upload .doc;.xls;ppt;bmp;jpeg;psd;tiff;tga;png;swf;svg;pcx;dxf;wmf;emf;lic;eps;.txt Etc , The file size is appropriate , Tips “ Can only upload jpg or gif Format picture ”
4、 The file type and file size are legal , Upload a 0kb Pictures of the , Prompt information :“ Please upload the file again , Or it can't be uploaded 0kb Pictures of the ”
5、 The file type and file size are legal , Upload a picture in use ( The picture opens , Upload this picture on ), Upload successful
6、 The file type and file size are legal , Manually enter an existing picture address , Click upload , Upload successful
7、 The file type and file size are legal , Manually enter a picture address that does not exist , Click upload , Tips :“ Please select the file to upload correctly ”
8、 The file type and file size are legal , Manually enter an existing picture name , Click upload , Generally, the system will prompt :“ Please correctly select the path of the file to upload ”
2、 File download
1、 Right click Save as to check whether the file can be downloaded correctly , And record the number of downloads
(1) Whether the tool download is correct , And record the number of downloads
2、 Click download to prompt for download or open on the page
(1) Whether the direct opening displays correctly
(2) Whether the files without tools installed on this machine can be opened , Can you give the correct prompt
(3) Whether the content opened directly in the page can be displayed normally , Page Aesthetics
(4) Whether saving to local can display correctly
(5) Whether canceling the download will record the number of downloads
3、 Whether the number of downloads is recorded correctly
4、 Whether the files not released in the background can be found and downloaded in the foreground
5、 Whether the files with download permission set in the background can be seen correctly 、 Can I download
6、 Verify the length of the exported file name , Depending on the circumstances
7、 Verify that the export file is empty
8、 Verify that the exported file name is a special character
9、 Verify the export of all data , Is the exported information correct
10、 Verify the export of some data , Is the exported information correct
11、 Verify whether the time when exporting a large amount of data is within a reasonable time range
12、 Verify that the export destination disk is full , Is the export handled in a friendly way
13、 Verify that the folder for export destination is read-only , Is there a friendly prompt when exporting
边栏推荐
- China polyisobutylene Market Research and investment value report (2022 Edition)
- 立即报名 | 云原生技术交流 Meetup 广州站已开启,8 月 6 号与你相遇!
- 【在 Kotlin 中添加条件行为】
- Redis主从复制,读写分离,哨兵模式
- LeetCode50天刷题计划(Day 5—— 最长回文子串 10.50-13:00)
- ssm练习第二天_项目拆分moudle_基本增删改查_批量删除_一对一级联查询
- 更安全、更健康、无续航焦虑,魏牌拿铁DHT-PHEV来了
- Shader code of parallax map in OpenGL
- 【英雄哥七月集训】第 25天: 树状数组
- 链表-倒数最后k个结点
猜你喜欢

SSM练习第五天

Nailing third-party service provider application ISV application development and listing tutorial

Vector canoe menu plugin getting started

Leetcode 50 day question brushing plan (day 4 - longest palindrome substring 14.00-16:20)

8.1 Diffie Hellman key exchange

ssm练习第三天_分页助手_安全框架

效率提升98%!高海拔光伏电站运维巡检背后的AI利器

Still using xshell? Recommend this more modern terminal connection tool

Oracle第一天(开发常用的知识点再回顾整理下)

PS_1_认识主界面_新建文档(分辨率)_打开保存(序列动画)
随机推荐
The first day of Oracle (review and sort out the common knowledge points of development)
OpenGL中的视差贴图的着色器代码
IrrKlang音频库的下载和配置
Meta Cambria手柄曝光,主动追踪+多触觉回馈方案
How to switch nodejs versions at will?
[brother hero July training] day 25: tree array
Redis主从复制,读写分离,哨兵模式
LeetCode_134_加油站
LeetCode_ 134_ gas station
[add conditional behavior in kotlin]
立即报名 | 云原生技术交流 Meetup 广州站已开启,8 月 6 号与你相遇!
Bulletgraph (bullet diagram, bullet diagram)
隐私计算基础组件系列-混淆电路
Apartment rental system based on JSP
SQL determines whether a column contains Chinese characters, English characters, pure numbers, and data interception
网上炒股,选择在哪里开户比较安全呢?
Vector canoe menu plugin getting started
LeetCode_1005_K次取反后最大化的数组和
.net CLR GC dynamic loading transient heap threshold calculation and threshold excess calculation
BulletGraph(子弹图、项目符号图)