File upload test cases
- Verify upload file button or link present.
- Verify the upload button or link should be clickable.
- Verify that whole button including the button text should be clickable.
- Verify text upload on the button.
- Verify icon added with the upload button if in the design and is aligned or not.
- Verify on click on the Upload button window should be open to select the file.
- Verify cancel button is working. On click on the cancel button window should be closed.
- Verify that the user can be able to select and upload multiple files if required.
- Verify user can upload multiple files at once.
- Verify the order of the file should be same as files uploaded or both cases one by one and multiple files upload.
- Verify that the user can only be able to upload the allowed files only. For example doc, docx or pdf, or image files like jpg, png etc.
- Verify a proper error message should be shown in case if the user tries to upload the file which is not allowed. File type not allowed.
- Verify an error message should be shown in case if the user tries to upload files more than the allowed limit.
- Verify on uploading file loader should be shown.
- Verify there should be some indication on upload file.
- Verify on upload a locked file password popup should be shown.
- Verify file should be upload if the user adds the correct password for the locked file.
- Verify a proper error message should be shown in case if password added for protected or locked file is not correct.
- Verify there should be an indication on file upload.
- Verify that the file name should be same and display after uploading the file.
- Verify that the uploaded file extension should be shown with the file name.
- Verify that the file size should be shown under the file name.
- Verify an error message shown if the file size is large than the allowed one.
- Verify an error message if the file is empty and have no content.
- Verify the application behaviour by uploading a large name file.
- Verify … 3 dots should be shown in case if the file name is too large and disturbs the design.
- Verify upload functionality is working and functional by upload a file.
- Drag and drop functionality should work properly for the allowed files types.
- Verify on the drop file, the file should not open on the browser.
- Verify on drop file it should not download.