Black box testing for image upload in a form
1. Try to upload file with zero bytes.
Equivalence partitioning
2. Try to upload image less than minimum limit.
3. Try to upload image more than maximum limit.
4. Try to upload image exactly minimum limit.
5. Try to upload image exactly maximum limit.
6. Try to upload image that has hidden text.
7. Try to upload image that is converted from other formats to image format.(.exe file converted to .gif etc).
8. Try to upload image format that is not acceptable - tiff, bmp...
9. Try to upload image format with capital letter extension. (.PNG ...)
10. Try to upload image format with different extension - .png; .jpg; .jpeg; .gif
11. Try to upload image with same names. Image name must be renamed while storing in DB or server.
12. Try to upload image with special characters in it's name.(someName for image's; image! (name) etc)
13. Try to upload image with keywords in its name.(delete.gif)
14. Try to upload image with more than one extension.(imagename.tiff.jpg.gif)
15. Uploaded file must not be directly accessible through URL.