Pages

Showing posts with label test case design. Show all posts
Showing posts with label test case design. Show all posts

Wednesday, August 24, 2011

Image Upload Checklist

  • Try to upload file with zero bytes.
  • Try to upload image less than minimum limit.
  • Try to upload image more than maximum limit.
  • Try to upload image exactly minimum limit.
  • Try to upload image exactly maximum limit.
  • Try to upload image that has hidden text.
  • Try to upload image that is converted from other formats to image format.(.exe file converted to .gif etc).
  • Try to upload image format that is not acceptable - tiff, bmp...
  • Try to upload image format with capital letter extension. (.PNG ...)
  • Try to upload image format with different extension - .png; .jpg; .jpeg; .gif
  • Try to upload image with same names. Image name must be renamed while storing in DB or server.
  • Try to upload image with special characters in it's name.(someName for image's; image! (name) etc)
  • Try to upload image with keywords in its name.(delete.gif)
  • Try to upload image with more than one extension.(imagename.tiff.jpg.gif)

Numeric Field Checklists


  • Assure that lowest and highest values are handled correctly.
  • Assure that invalid values are logged and reported.
  • Assure that valid values are handles by the correct procedure.
  • Assure that numeric fields with a blank in position 1 are processed or reported as an error.
  • Assure that fields with a blank in the last position are processed or reported as an error an error.
  • Assure that both + and - values are correctly processed.
  • Assure that division by zero does not occur.
  • Include value zero in all calculations.
  • Include at least one in-range value.
  • Include maximum and minimum range values.
  • Include out of range values above the maximum and below the minimum.
  • Assure that upper and lower values in ranges are handled correctly.

Wednesday, January 12, 2011

What is Test Case


In software engineering Test Case is a set of conditions under which a tester will determine whether an application or software is working correctly or not. Test cases is a sequence of steps to test the correct behavior of a functionality/feature of an application.

A test case is a detailed procedure that fully tests a feature or an aspect of a feature.
A test case should have :

  • The purpose of the test.
  • Special hardware requirements.
  • Special software requirements.
  • Specific setup or configuration requirements.
  • A description of how to perform the test.
  • The expected results or success criteria for the test.

Test cases should be written by a team member who understands the function or technology being tested, and each test case should be submitted for peer review.

Tuesday, December 14, 2010

How to Prepare Test cases




Test cases are prepared on the basis of Requirement documents.
Each company follows their own format. The test cases are 3 types.

1.GUI Test cases

  • Availability 
  • Alignment 
  • Look and Feel
  • Spell checking
2.Positive test cases
3.Negative test cases