What We Are Learn On This Post
Test Case For Profile Photo Upload Test Case
For manual testing of Photo upload functionality, following are some of the scenarios/ test cases that you can write:
Test Scenario Overview | |
---|---|
Post On: | Test Case For Profile Photo Upload |
Post Type: | Test Case Template |
Published On: | www.softwaretestingo.com |
Applicable For: | Freshers & Experience |
- Firstly, check the Image upload path.
- Test the Image Upload feature with image files of different extensions like PNG, BMP, JPEG, etc.
- Test with the image whose names contain space or some special characters.
- Upload a duplicate name image.
- Test that if a user can see the uploaded images.
- Check image upload with image size greater than the maximum allowed size. The proper message should be displayed.
- Check image upload feature with file types other than images like txt, doc, excel, pdf, etc.
- Test with the images of specific width and height if specified are accepted otherwise rejected.
- There should be a progress bar for large size images.
- Test for the cancel button functionality is working in between while uploading the image.
- Check the file selection dialogue shows only supported files listed.
- Check multiple images upload functionality.
- test for the image quality after upload. The quality of the image should not be changed after uploading the image.
Hey Writing a test case is not just creating steps but presenting how a layman can reach to its destination and what he/she needs to check during the journey. So, to create a test case for Profile photo upload, the first step is to create high-level scenarios.
With scenarios, we will be knowing what areas we will cover to test the functionality. After writing scenarios, it would be easy to convert the same into the test case with the action performed and expected results. We can cover the below scenarios:
- Alignment of Profile photo upload frame.
- If the Upload button is clicked without uploading the photo then an error occurs or not.
- What are the accepted file types for photo upload?
- Verify the size of the photo upload.
- Refresh the page during photo upload.
- Clicking on the upload button post upload.
- Clicking on the Cancel button during upload.
- The photo is correctly aligned after upload.
- Tools like crop, beautify, etc, are working fine after upload.
So, after drafting the above scenarios, we can create the test case and write the actions which we will perform and what will be the outcome for the same.
Hope the above helps you…!!! Hey, Here is the generalized way to test any uploaded images.
- Firstly, check the Image upload path.
- Test the Image Upload feature with image files of different extensions like PNG, BMP, JPEG, etc.
- Test with the image whose names contain space or some special characters.
- Upload a duplicate name image.
- http://5.To test that if a user can see the uploaded images.
- Check image upload with image size greater than the maximum allowed size. The proper message should be displayed.
- Check image upload feature with file types other than images like txt, doc, excel, pdf, etc.
- Test with the images of specific width and height if specified are accepted otherwise rejected.
- There should be a progress bar for large size images.
- Test for the cancel button functionality is working in between while uploading the image.
- Check the file selection dialogue shows only supported files listed.
- Check multiple images upload functionality.
- Test for the image quality after upload. The quality of the image should not be changed after uploading the image.
Related Test Cases | |
---|---|
☑️ Pendrive Test Cases | ☑️ Pencil Test Cases |
☑️ Radio Button Test Cases | ☑️ Refrigerator Test Cases |
Hope this will help you. How do I write? I am thinking you want to know what are the different tests you can use:
- Upload a proper photo with right dimensions resolution etc.
- Try to see if you can get away by not uploading anything
- upload all kinds of picture file formats ex: .jpg, .tiff, .bmp
- upload non picture files like .txt, .xls
- upload files that are too large
- upload files that are very small in size
- While you are at it, try to retrieve as many error messages possible and see if they are appropriate and if they suggest any solution
- keep uploading pictures and see if the previous picture gets replaced
- While you are at it, see if you get appropriate error messages, and see if the app quits gracefully in the event of a crash (ex: it gives a message on the lines of “app has stopped responding” etc. instead of simply vanishing
- keep tapping on the upload button several times continuously to see what happens
- See if proper upload guidelines are mentioned for the pic upload ex: size, resolution, naming what is inappropriate, etc.
- See if the upload is mentioned properly
- What are the choices for the upload of your drive, cloud (which ones?)
- How much time does it take for a picture upload to take place
- Simulate a slow/flaky network condition and test n
- Use a proxy and try to replace the uploaded picture using a man in the middle
Here is my take on your question. I might be wrong but kindly bear with me. Profile Picture Upload Test Conditions :
- Profile Picture Mandatory during the Signup process. Then the Picture provided by User at Signup time should be displayed by default.
- For the first time checking of Profile Picture by User, the Picture should get displayed without much delay.
- For consequent checking of Profile Picture by User, the Picture should get displayed early as it must be coming from Cache.
- Profile Picture Optional during the Signup process. Then the default Picture/icon should be displayed.
- Upon tapping on the Edit icon, the options for the Source of Profile Picture (Camera, File Explorer, Cloud) should be displayed.
- Check whether User can choose an Image from Phone’s Gallery (Internal Memory & External Memory)
- Check if choosing Camera as the Source opens the Webcam of the PC or Front Camera of the Phone.
- Check if swapping the Front Camera & Rear Camera is possible.
- Check if Photos taken by the Front as well as Rear Camera are rendered (alignment, position, and picture quality) properly or not.
- Check after taking a photo or selecting an Image, the CROP options are available or not.
- After cropping, the Image is rendered correctly or not.
- Zoom In and Zoom Out should be possible.
- Image files of what types are allowed (.jpg, .jpeg, .bmp, .gif, .png, .svg, .ico)
- Files of other types (.doc, .docx, .xls, .xlsx, .pdf, .rar, .zip, ) are getting allowed or not.
- File size restrictions (Minimum Size, Maximum Size) are working or not.
- File Dimensions are working or not. // Same for Editing an already uploaded Profile Picture //
- If Profile Picture exists then deleting should either open up a Confirmation Dialog Box or delete the Picture directly.
- If User selects YES delete then Picture should get deleted and be replaced with blank/default Profile Picture icon.
- If User selects NO, don’t delete then Picture should remain as it is.
- If no Profile Picture is there, then tapping on Delete should show an error.
- Edit after an Edit should display the latest uploaded Picture.
Chk this
- The first time-space should be blank
- On edit, there should be delete and upload option should be available
- 3-When you click on upload it should ask for the location for upload
- You need to check for all possible file format and size (png or JPEG and min 2 MB file) or whatever you requirement doc says
- 5-Post upload it should look fine.
- 6- Rest think in the same line…convert every point in requirements into test cases.
Tasks To Improve Your Knowledge | |
---|---|
☑️ Positive and negative test cases for file upload | ☑️ Test cases for Profile page |
☑️ Test cases for uploading | ☑️ Test cases for bulk upload |
☑️ Browse button test cases | ☑️ Upload image test |
☑️ Test case for Download button | ☑️ Test file upload |
Let We Inform you, For improves your knowledge you can take the above as a task and you can work on that. But from the above task list some of the tasks we have already completed and you can find those on our blog. After Completion if you want to share with us that then you can write to us at softwaretestingo.com@gmail.com.
In return for that maybe we plan something more surprising for your career. |
Final Words
I hope you have found some valuable information on this post. Feel free to update us, and you can do that by putting the update information in the comment section. Let me know if you need more information or have any suggestions. Then you can comment that in the comment section.
Test Scenario 1: Check windows maximize, minimize and close functionality
Test Scenario 2: Check if the window is re-sizeable
Test Scenario 3: Check for image upload functionality
Test Scenario 4: Check for uploaded image path
Test Scenario 5: Check image upload with image size greater than the max allowed size. The Proper error message should be displayed.
Test Scenario 6: Check image upload functionality with file types other than images (e.g. txt, doc, pdf, exe etc.). A Proper error message should be displayed.
Test Scenario 7: Email addresses should be validated before sending emails.
Test Scenario 8: Check emails with attachments.
Test Scenario 9: Email subject should not be blank.
Test Scenario 1: Check windows maximize, minimize and close functionality
Test Scenario 2: Check if the window is re-sizeable
Test Scenario 3: Check for image upload functionality
Test Scenario 4: Check for uploaded image path
Test Scenario 5: Check image upload with image size greater than the max allowed size. The Proper error message should be displayed.
Test Scenario 6: Check image upload functionality with file types other than images (e.g. txt, doc, pdf, exe etc.). A Proper error message should be displayed.
Test Scenario 7: Email addresses should be validated before sending emails.
Test Scenario 8: Check emails with attachments.
Test Scenario 9: Email subject should not be blank.
PLEASE solve it
– test case id
– test case
-test case name
-input data
-expected output