File upload, download Test point summary

Source: Internet
Author: User

About file upload Download the following points are mainly considered:

1. File type:
When you get the demand, look at the file type there are no restrictions, if there is a limit to the requirements of the file test; If there is no limit to the upload type, the following aspects should be considered in the test case:

    1. A variety of common file types, including bat, XLS, xlsx, doc, docx, EXE, JSP, RAR, ZIP, ISO, etc., as well as a variety of video, audio and graphics, etc.;
    2. About file name: Pure Chinese name, Chinese and English mix, Chinese and digital filenames, Chinese and special characters (&*, etc.) filenames, English and digital filenames, English and special character filenames, plain English filenames, etc.;
    3. File name length: 1 characters, 10 characters, 100 characters, etc., including the length under various filenames;
    4. File storage location: D:\ file, computer \c disk \ user \ folder \ file,.. \ folder 1\ folder 2\ folder 3\ folder 4 ... File

2. File name test:

    1. File name too long
    2. The file name reaches the maximum length (Chinese, English or mixed together) after upload name display, page layout, page display normal
    3. The file name contains special characters
    4. The file name is all Chinese
    5. The file name is all in English
    6. The file name is mixed with Chinese and English

3. File Size:
Typically, the system will set the upper value of the upload file size, so when considering the upload file size, the following scenarios are included:

    1. File size is 0
    2. Files that conform to the format, with a total size slightly smaller than the restricted size
    3. Files that conform to the file, the total size equals the limit size
    4. Files that conform to the file, the total size is slightly larger than the restricted size
4. Security testing:
    1. Upload executable file (exe file)
    2. Upload common Trojan files,-tips cannot be uploaded
    3. Server space is full when uploading, prompt

5. Performance test:
    1. Upload speed is very slow (speed limit), when more than a certain time, prompt
    2. Upload process Broken network, there is a hint whether the upload success
    3. Upload Process Server Stop payroll--Prompt for upload success
    4. Upload Process Server resource utilization, in normal range
6. Interface Test:
    1. Interface aesthetics, ease of use (keyboard and mouse operation, tab jump Order is correct), display normal (as required)
    2. Button text is correct
    3. correct/Incorrect text of the error message
    4. Descriptive text is correct
7. Other:
    1. Upload a file of the same name when there are multiple upload boxes
    2. Upload a file that is being opened
    3. File path is manually entered to limit length
    4. Does the upload process have the ability to cancel the file being uploaded?
    5. Save when there are no files that have been selected well but not uploaded
    6. Select a good but not uploaded file can be deselected
    7. When the attachment is empty, whether the upload button is available, whether there is a prompt message, whether the information is clear, whether it can better guide users to use the function;
    8. Attachment for some reason upload failure, the system can be normal processing (network suddenly broken, the file itself is damaged, uploading the customer accidentally think off the upload dialog box, etc.);
    9. If the file size is a critical value, the system can be handled normally;
    10. After selecting the file, click the Upload button to indicate the time it takes to display the information, depending on the project;
    11. Whether the file name is written in accordance with the requirements of the user after the successful upload

6. About the Download:

    1. Whether the file can be downloaded normally, and whether the download process may be re-downloaded for some reason after a sudden interruption;
    2. Download the file, whether it can open normally, after opening the contents of the file is changed, etc.

PS: There are also bulk uploads and downloads

File upload, download Test point summary

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.