Wednesday, January 30, 2008

How to Prepare a Simple and Basic Test Case

Just note that this article talks about a simple and basic test case. This type of test cases are most essential for a product to be launched. For additional security, detailed test cases can be developed.


In order to prepare a test case, mark following points…
· A complete flow diagram is prepared
· All points discussed and agreed with client are mentioned at priority
· A sitemap is prepared and all pages are checked as per that
· All links on each and every page are checked to ensure they are alive
· Any page, if missing or page under construction, should display a standard formatted “UNDER CONSTRUCTION” or “UNDER MAINTENANCE” page
· All images are well aligned and the standard windows placeholder with Red Cross on top left corner is not displayed anywhere.
· There is no spelling error on any page.
· No error occurs on any page under any sample data
· Sample data for testing should be prepared carefully, that can push the application to its extreme limits. Such boundary value test should be performed under stress testing conditions to check what conditions force application to crash.

· No Injections (SQL/HTML/others) are active on the site.


Quick Steps…

1. Prepare a sitemap
2. For every page in application/site, prepare a block with following points

-- a. Accessible through menu/page [ Y / N ]
-- b. Grammatical/Typographic mistakes [ Y / N <list>]
-- c. Sample Data for testing and its influence [ <list>]
-- d. Errors on page [ <list>]
-- e. Context as compared to application [ <details>]

-- f. Injections are not Working [Y / N]
3. Prepare a list of features discussed with client and ensure they are dealt properly

0 comments: