Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

0 like 0 dislike
1.4k views
by Expert (572 points)
retagged by
I have an application where we have a profile page. In the profile page, we can upload an avatar. I have to write test cases to test the functionality.

Can you please help me with the list of scenarios to cover?

1 Answer

1 like 0 dislike
by Expert (748 points)

Hi Everyone,

Test Cases for upload image (avatar)

1.Firstly, check Image upload path.

2.Test the Image Upload feature with image files of different extensions like PNG, BMP, JPEG etc.

3.Test with the image whose names contain space or some special characters.

4.Upload a duplicate name image.

5.To test that if user can see  the uplaoded images.

6.Check image upload with image size greater than the maximum allowed size.Proper message should be displayed.

7.Check image upload feature with file types other than images like txt, doc, exe, pdf etc.

8.Test with the images of specific width and height if specified are accepted otherwise rejected.

9.There should be a progress bar for large size images.

10.Test for the cancel button functionality is working in between while uploading the image.

11.Check the file selection dialog shows only supported files listed.

12.Check multiple images upload functionality.

13.test for the image quality after upload.The quality of the image should not be changed after uploading the image.

  1. Ensure that images of correct extension and size can be uploaded to the site.
  2. Ensure that user can edit/delete the uploaded image.
  3. Ensure that the image file viewed is the same as the one uploaded.
  4. Ensure that the uploaded image is not cropped off.


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

1.4k questions

1.6k answers

866 comments

1.9k users

...