当前位置:网站首页>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
边栏推荐
- 开发winform中遇到的一些问题汇总(持续跟新)
- Point cloud target detection Kitti dataset bin file visualization, one-stop solution
- Become a test / development programmer, Xiao Zhang: reality is coming
- SQL判断某列中是否包含中文字符、英文字符、纯数字,数据截取
- [ Kitex 源码解读 ] 服务发现
- Leetcode 0137. number II that appears only once
- 数据安全知识体系
- Maximum sum of continuous subarray of sword finger offer (2)
- Ten year structure five year life-06 impulse to leave
- MySQL 遇到过死锁问题吗,你是如何解决的?
猜你喜欢

Hello World

Redis主从复制,读写分离,哨兵模式

Distributed link tracking Jaeger's use in golang

ICML 2022 (Part 4) | | graph hierarchical alignment graph kernel to realize graph matching

Baidu PaddlePaddle easydl x wesken: see how to install the "eye of AI" in bearing quality inspection

Linked list - merge two sorted lists

Hello World

面试OPPO,16道题甩过来,我人傻了

Sign up now | cloud native technology exchange meetup Guangzhou station has been opened, and I will meet you on August 6!

Vector CANoe Menu Plugin拓展入门
随机推荐
Distributed link tracking Jaeger's use in golang
Rookie cpaas platform microservice governance practice
模块八作业 - 消息数据 MySQL 表设计
你适合做自动化 测试吗?
ssm练习第三天_分页助手_安全框架
8.1 Diffie Hellman key exchange
Vector CANape - How to Send Receive CAN Message in CANape
详解 gRPC 客户端长连接机制实现
LeetCode50天刷题计划(Day 2—— 无重复字符的最长子串 10.00-12.00)
常用功能的测试用例
Sword finger offer regular expression matching
.net CLR GC dynamic loading transient heap threshold calculation and threshold excess calculation
Leetcode 50 day question brushing plan (day 5 - longest palindrome substring 10.50-13:00)
链表-两个链表的第一个公共结点
LeetCode_ 134_ gas station
剑指offer 跳台阶扩展问题
《圆圈正义》的信念
ssm练习第四天_获取用户名_用户退出_用户crud_密码加密_角色_权限
PS_ 2_ layer
Leetcode 0137. number II that appears only once