Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Basics-Test Case Writing

5,661 views

Published on

Basics-Test Case Writing

Published in: Technology
  • Be the first to comment

Basics-Test Case Writing

  1. 1. -By Madhavan Karthikeyan
  2. 2. <ul><li>• Functionality Testing • Performance Testing • Usability Testing • Server Side Interface • Client Side Compatibility • Security </li></ul>
  3. 3. <ul><li>In General a test case basically is a brief statement of something that should be tested </li></ul><ul><li>“ As set of test inputs, execution conditions, and expected results developed for a particular objective, such as to exercise a particular program path or to verify compliance with a specific requirement.” (IEEE) </li></ul>
  4. 4. <ul><li>The basic objective of writing test cases is to validate the testing coverage of the application . </li></ul><ul><li>So writing test cases brings some sort of standardization and minimizes the ad-doc approach of testing. </li></ul>
  5. 5. <ul><li>Find defects </li></ul><ul><li>Maximize bug count </li></ul><ul><li>Block premature product releases </li></ul><ul><li>Help managers make ship / no-ship decisions </li></ul><ul><li>Assess conformance to specification </li></ul><ul><li>Conform to regulations </li></ul><ul><li>Verify correctness of the product </li></ul><ul><li>Assure quality </li></ul>
  6. 6. <ul><li>Read Specification and Requirement Carefully </li></ul><ul><li>Be clear with the design and implementation details </li></ul><ul><li>Analyze and Identify all possible scenarios </li></ul><ul><li>Identify the test environments and test types </li></ul><ul><li>Should be clear of behavior under failure condition (invalid input, boundary values etc) </li></ul>
  7. 7. <ul><li>Short </li></ul><ul><ul><li>Tests should be very short (a paragraph or so) </li></ul></ul><ul><li>Cross-Platform </li></ul><ul><ul><li>Test should be as cross-platform as reasonably possible, working across different devices, screen resolutions, paper sizes, etc. </li></ul></ul><ul><ul><li>Note: Properly written test cases helps both Testers as well as Developers while execution and debugging. </li></ul></ul>
  8. 8. <ul><li>The test case for different module should be mentioned in a a single worksheet in a single file. </li></ul><ul><li>The name of the excel file should be TypeofTesting_ModuleName </li></ul><ul><li>Module names should be in Capitals and Bold. </li></ul><ul><li>Screen Names should be bold and have camel notation ie., the first word in capital letters and rest all in small letters. </li></ul><ul><li>All the objects like textbox, listbox, Checkbox, radio buttons etc should be in italics and bold </li></ul><ul><li>The link names should be mentioned in Italics, bold and underline below the work e.g., ‘Sign Out’ link should be mentioned as ‘Sign Out’ </li></ul>
  9. 9. <ul><li>Test Case Id – Must be unique across the application </li></ul><ul><li>Test Case description – The test case description must be very brief </li></ul><ul><li>Test Case Priority – Priority of the test case </li></ul><ul><li>Test Case Type – To identify the type of test case </li></ul><ul><li>Precondition – What should be present in the system, before the test can be executed </li></ul>
  10. 10. <ul><li>Testing the functionality of the web sites the following should be tested: </li></ul><ul><ul><li>Server Side Interface: In web testing the server side interface should be tested. This is done by verify that communication is done properly. Compatibility of server with software, hardware, network and database should be tested. </li></ul></ul>
  11. 11. <ul><li>Testing the functionality of the web sites the following should be tested: </li></ul><ul><ul><li>Client Side Compatibility: The client side compatibility is also tested in various platforms, using various browsers etc. </li></ul></ul><ul><ul><li>Security: The primary reason for testing the security of a web is to identify potential vulnerabilities and subsequently repair them. • Network Scanning • Vulnerability Scanning • Password Cracking • Log Review • Integrity Checkers • Virus Detection </li></ul></ul>

×