当前位置:网站首页>File upload and download test point
File upload and download test point
2022-07-03 10:57:00 【Software testing Intelligence Agency】
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
Last : It can be in the official account : Sad spicy bar ! Get one by yourself 216 Page software testing engineer interview guide document information 【 Free of charge 】. And the corresponding video learning tutorial is free to share !, It includes basic knowledge 、Linux necessary 、Shell、 The principles of the Internet 、Mysql database 、 Special topic of bag capturing tools 、 Interface testing tool 、 Test advanced -Python Programming 、Web automated testing 、APP automated testing 、 Interface automation testing 、 Testing advanced continuous integration 、 Test architecture development test framework 、 Performance testing 、 Safety test, etc. .
Learn not to fight alone , It's best to keep warm , Achieve each other and grow together , The effect of mass effect is very powerful , Let's learn together , Punch in together , Will be more motivated to learn , And you can stick to it . You can join our testing technology exchange group :914172719( There are various software testing resources and technical discussions )
Friends who like software testing , If my blog helps you 、 If you like my blog content , please “ give the thumbs-up ” “ Comment on ” “ Collection ” One Key triple connection !
边栏推荐
- Take you into the cloud native database industry, Amazon Aurora
- What happened to those who focused on automated testing?
- [roast & brain hole] Some Thoughts on the bullet screen interactive game of Wei Shu Wu Three Kingdoms when visiting station B
- 如何在游戏中制作一个血条
- 公司测试部门来了个00后卷王之王,老油条感叹真干不过,但是...
- Day 7 small exercise
- Comment réaliser des tests automatisés pour les tests logiciels embarqués?
- 大型电商项目-环境搭建
- FileNotFoundError: Could not find module ‘... dll‘ (or one of its dependencies).
- 我,大厂测试员,降薪50%去国企,后悔了...
猜你喜欢
多路IO转接——前导
8年测试总监的行业思考,看完后测试思维认知更深刻
Set ArrayList nested map set loop traversal
【蓝桥杯选拔赛真题44】Scratch消灭骷髅军团 少儿编程scratch蓝桥杯选拔赛真题讲解
[combinatorial mathematics] pigeon's nest principle (simple form of pigeon's nest principle | simple form examples of pigeon's nest principle 1, 2, 3)
软件测试必学基本理论知识——APP测试
带你走进云原生数据库界扛把子Amazon Aurora
Differences among norm, normalize and normalized in eigen
Que se passe - t - il ensuite pour ceux qui se sont concentrés sur les tests automatisés?
[roast & brain hole] Some Thoughts on the bullet screen interactive game of Wei Shu Wu Three Kingdoms when visiting station B
随机推荐
Large scale e-commerce project - environment construction
How to hide cvxpy warnings: warn: a- > P (column pointers) not strictly increasing, column x empty?
TypeScript学习总结
Communication software development and Application
你真的需要自动化测试吗?
15 software testing Trends Worthy of attention
QT: QSS custom qtableview instance
Logstash backup tracks the data records reported
QT:QSS自定义QMenu实例
小文件专项
Redis 笔记 01:入门篇
Qt:qss custom qspinbox instance
QT:QSS自定义QToolButton实例
logstash备份跟踪上报的数据记录
DAY 7 小练习
MySql 怎么查出符合条件的最新的数据行?
Flink -- built in function (all)
Numpy quick start (II) -- Introduction to array (creation of array + basic operation of array)
Jupiter notebook changing font style and font size
C language project: student achievement system