The document provides guidance on testing a PDF file upload feature, including checking that the PDF is not password protected, the file size limit, and that the upload button is functional. It also lists various tests to validate file type restrictions, error handling, upload progress, and other expected behaviors. A second section focuses on additional tests for drag-and-drop file uploads.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
46 views2 pages
Test PDF File Created Ahmad Gillani
The document provides guidance on testing a PDF file upload feature, including checking that the PDF is not password protected, the file size limit, and that the upload button is functional. It also lists various tests to validate file type restrictions, error handling, upload progress, and other expected behaviors. A second section focuses on additional tests for drag-and-drop file uploads.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2
Test pdf File created Ahmad Gillani
Before testing your PDF in the platform, you need to upload the document.
The PDF can't be password protected.
The maximum file size is 20 MB. Can we upload bulk pdf files? Can we upload pdf files via URL? Check whether the file upload button or link is present on the webpage. Check if the upload button or link is clickable. Check if the whole button or text is clickable. Check the upload functionality is working and functional by uploading a file. Check if any icon is added with the button text; if yes, check if the alignment is as per the requirement document. Check on the click of the upload button or link. A window is opening, where they should be open to select the file. Check if a user is limited to selecting a single file or multiple files. Check if the user is allowed to upload multiple files at once. Check the application behaviour by uploading a large name file. Check if the uploader shows a “success” message after the upload Check if the error message is displaying if file uploading fails. Check if the file order should be the same as the files uploaded or both cases, one by one and multiple files uploaded. Check if the user can only be able to upload the allowed files only. For example, doc, Docx, pdf, or image files like jpg, png, etc. Check if a proper error message should be shown if the user tries to upload the file, which is not allowed. The file type is not allowed. Check if the error message displays if the file size is larger than the allowed one. Check if an error message should be shown in case the user tries to upload more files than the allowed limit. Check whether the upload file progress is showing or not. Verify If you allow only a specific set of files, whitelist those file types. Check the file upload module is capable of identifying the file type recognizer functionality built into it. Check if the file upload feature should remove the special characters within the text area field provided. Check if the file upload is allowing alphanumeric content in the file names. Check the File upload window; don’t accept empty files with an extension that leads to SQL injection. Verify if the user is restricted to file name typing instead, offer a file browsing dialog box to the upload button. Check if the users are allowed to upload the same file multiple times. Check while uploading a file by clicking the cancel button window should be closed. Check if the user is allowed to upload the locked file. Check If the user tries to upload a locked file, then only the file should upload by entering the correct password. A proper error message should be shown in case if password added for the protected or locked file is incorrect. Check the file name should be the same and display it after uploading it. Check if the uploaded file extension is shown with the file name. Check if the file size is displaying with the file name. Check is … 3 dots should be displayed in case the file name is too large and disturbs the design. Check by Trying to upload the file as a guest user or anonymous user. (If file upload is allowed only for registered users) These are some of the basic options to check when it comes to security testing of the file upload module — a typical File Upload feature on file upload sites like Dropbox or Google Drive.
Test Cases For File Upload – Drag & Drop
Web Page File Upload Test Cases 1
Check if the uploader is limited to selecting a single file or multiple files. Check if the uploader allows the drag-and-drop type feature. Check if the uploader requires browsing to file using the browse button. Check if the uploader depends on any third-party plugin. Check if the uploader is custom-built or makes use of the existing framework. Check if the uploader supports drag and drop from the tablet app. Check if the uploader includes the progress bar to show the estimated time left for file upload. Check if the file size and type are displaying after uploading. Check if the file uploader has any file size requirements. Check if the uploader accepts image files in the format – jpg, gif, png. Check if the uploader accepts document formats – pdf, doc, txt, xlsx. Check if the uploader has any other specific application format requirements. Check if the uploader has any specific file format blacklisted for security reasons? Check that some of the file formats are whitelisted by the uploader. Check if the system allows canceling the upload. Check if the error message is displaying if file uploading fails. Check if the error message is displaying if the file is uploaded partially. Check on dropping the file in the marked area; the file should not open on the browser.