Test cases on uplaoding files

Answer Posted / karan patel

1. Test uploading different types of image files (like .jpg, .png, .gif, .bmp, etc) and see if you could upload them.

2. Test uploading other files (like .exe, .dll, .mpg, .mov, .mp3, .wav, .rm, .doc etc) and see if It could break the uploading process.

3. Test with an image file with size other than the specified limit (the maximum allowed size was 500KB. So I had to try with 0 KB files, 1 MB image files, 5 MB files etc).

4. Try uploading a virus infected image file [You can use EICAR (European Institute of Computer Anti-virus Research) test files. These files are not actually viruses but behave as virus files] and see if the web server could detect the virus and stop the upload!

5. Test typing in a wrong path (like typing 'F: walpapersaamir_khan_001.jpg', in place of a correct path 'F: wallpapersaamir_khan_001.jpg'). Look at the wrong spelling of 'walpaper'). This can easily happen if a user is entering the path of the image file to be uploaded instead of browsing and selecting the image file. I had to see that the system was capable of detecting the wrong path name of the file.

6. Test cancelling an upload process and see what happens.

7. Test with a slower network speed and low system configuration.

8. Test While unplugging the internet connection while uploading.

9. Rename a images file with special characters and test by uploading it.

10. Test with corrupted image files (wrongly encrypted files).

11. Test by changing the file extension in browse field after selecting one image.
for Ex : Chnage jpeg into GIF

12. Test By closing the browser while uploading

Is This Answer Correct ?    26 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

This was asked to me recently in Microsoft interview How would you do DOS copy command testing

1887


Write a test case of login window?

687


Can any1 tell me how to do and Integration test design and test cases for Order Inventory system for use cases. ALso how is that going to differ from System Testing. The system is similar to amazon.com online ordering system and you can place order by calling customer call center.

1903


Test a function that reads a file into memory, say ReadFileToMemory( FILE * pFile, BYTE * pMem, DWORD numBytes)

2678


How to write the test scenarios for the following: 1. Searching train. 2. Data encryption and decryption. 3. Single signon. 4. Document printing. 5. Testing EMail. 6. Data authentication.

3012






In any Hyderabd institute you can find these word commomly used by faculties ... Yes or no / Right or wrong so funny...

1639


How many test cases u will write for Acceptance testing?

1773


Can any one please give me a test case for transaction of money thro' mobile phones. I really need it soon. i need the test case in ieee format.please anyone help me.

1972


Write the use cases for following 1. Comment section of Facebook 2. Instagram status Implementation

463


consider a program module that inputs two (2) values, n and max, and computes the sum of the first n integers as long as this sum is less than max; otherwise an error should be reported. if n is negative, then it takes the absolute value. a) list the equivalence partitions, and b) list the boundary values.

1767


Can anybody help me in writing test cases for a scenario? need help at the earliest. will send you the requirement doc to your email id. thanks raj

1790


Suppose a job should be executed for every two hours? Write test case for this?

674


how to write testcase for the output of an program ****0 ***01 **012 *0123 01234

1287


Explain the exactly meaning of test case?

673


How to write test case for this scenario. The system shall auto populate the Email Address on the contact screen with the Email Address of the user profileĀ 

1630