Thursday, 23 May 2013

Software Test Documents - Test Plan, Test Scenario, Test Case, Traceability Matrix

Explain about Software Test Documents (artifacts)

Testing documentation involves the documentation of artifacts which should be developed before or during the testing of Software.

Documentation for Software testing helps in estimating the testing effort required, test coverage, requirement tracking/tracing etc. This section includes the description of some commonly used documented artifacts related to Software testing such as:

  • Test Plan
  • Test Scenario
  • Test Case
  • Traceability Matrix

Define Test Plan

A test plan outlines the strategy that will be used to test an application, the resources that will be used, the test environment in which testing will be performed, the limitations of the testing and the schedule of testing activities. Typically the Quality Assurance Team Lead will be responsible for writing a Test Plan.
A test plan will include the following: 
Test Plan id
Introduction
Test items
Features to be tested
Features not to be tested
Test techniques
Testing tasks
Suspension criteria
Features pass or fail criteria
Test environment (Entry criteria, Exit criteria)
Test deliverables
Staff and training needs
Responsibilities
Schedule

testplan-template
Click on the image for Zoom view

Define Test Scenario

A one line statement that tells what area in the application will be tested. Test Scenarios are used to ensure that all process flows are tested from end to end. A particular area of an application can have as little as one test scenario to a few hundred scenarios depending on the magnitude and complexity of the application.

The term test scenario and test cases are used interchangeably however the main difference being that test scenarios has several steps however test cases have a single step. When viewed from this perspective test scenarios are test cases, but they include several test cases and the sequence that they should be executed. Apart from this, each test is dependent on the output from the previous test.

Define Test Case

Test cases involve the set of steps, conditions and inputs which can be used while performing the testing tasks. The main intent of this activity is to ensure whether the Software Passes or Fails in terms of its functionality and other aspects. There are many types of test cases like: functional, negative, error, logical test cases, physical test cases, UI test cases etc.

testcase_template
Click on the image for Zoom view

Furthermore test cases are written to keep track of testing coverage of Software. Generally, there is no formal template which is used during the test case writing. However, following are the main components which are always available and included in every test case:
Test case ID.
Product Module.
Product version.
Revision history.
Purpose
Assumptions
Pre-Conditions.
Steps.
Expected Outcome.
Actual Outcome.

Post Conditions.
Many Test cases can be derived from a single test scenario. In addition to this, some time it happened that multiple test cases are written for single Software which is collectively known as test suites.

Define Traceability Matrix

Traceability Matrix (also known as Requirement Traceability Matrix - RTM) is a table which is used to trace the requirements during the Software development life Cycle. It can be used for forward tracing (i.e. from Requirements to Design or Coding) or backward (i.e. from Coding to Requirements). There are many user defined templates for RTM.

Each requirement in the RTM document is linked with its associated test case, so that testing can be done as per the mentioned requirements. Furthermore, Bug ID is also include and linked with its associated requirements and test case.
The main goals for this matrix are:
Make sure Software is developed as per the mentioned requirements.
Helps in finding the root cause of any bug.
Helps in tracing the developed documents during different phases of SDLC.
sample_traceability-template
Click on the image for Zoom view


These are about Software Test Documents. 

32 comments:

  1. Hello,
    The Article on Software Test Documents is nice it give detail information about it.Thanks for Sharing the information about Software Test Document. mobile application testing

    ReplyDelete
  2. Amazing, thanks a lot my friend, I was also siting like a your banner image when I was thrown into Selenium.When I started learning then I understood it has got really cool stuff.
    I can vouch webdriver has proved the best feature in Selenium framework.
    Thanks a lot for taking a time to share a wonderful article.


    Selenium Training in Velachery | Best Selenium Training Institute in Chennai

    ReplyDelete
  3. Nice site....Please refer this site also Our vision success!Training are focused on perfect improvement of technical skills for Freshers and working professional. Our Training classes are sure to help the trainee with COMPLETE PRACTICAL TRAINING and Real time methodologies
    Dot Net Course in Chennai | Best Dot Net Training Institute in Chennai
    Testing Courses in Chennai | Best Software Testing Training Institute in Chennai With Placement
    Core Java Training in Chennai | Java Certification in Chennai | Java Training Institute in Chennai
    PHP Training Institute in Chennai | Best PHP Course in Chennai | Best PHP Training Institutes

    ReplyDelete
  4. Nice Blog, When i was read this blog i learnt new things & its truly have well stuff related to developing technology, Thank you for sharing this blog.
    iPhone app training course in bangalore
    iPhone job oriented course in bangalore
    Best iphone training institute bangalore
    iOS course fee in bangalore

    ReplyDelete
  5. I was very interested in the article , it’s quite inspiring I should admit. I like visiting your site since I always come across interesting articles like this one. Keep sharing! Regards. Read more about
    Security Testing Services
    Test Automation Services
    Software Testing Services
    Compatibility Testing Services
    Regression Testing Services

    ReplyDelete
  6. I must thank you for the efforts you have put in penning this site. I am hoping to check out the same high-grade content by you later on as well. In truth, your creative writing abilities has inspired me to get my own, personal blog now..
    Document Management Software
    Document Management Software India
    Document Management Software Chennai

    ReplyDelete
  7. It was so nice article.I was really satisfied by seeing this article.software testing training in bangalore

    ReplyDelete
  8. Very useful post and I think it is rather easy to see from the other comments as well that this post is well written and useful. Keep up the good work
    software testing services
    software testing companies
    Security testing services

    ReplyDelete
  9. I am read the most of contents have useful for my Carrier.Thanks for these useful information.Any information are commands like to share him.
    Document Management Software
    Electronic Document Management System
    Cloud Document Management System
    Document Management System
    Electronic Document Management Software

    ReplyDelete
  10. Thank you so much. Your blog is very helpful. Could you please post any material on software testing services too?

    ReplyDelete
  11. It's great to be here and to learn more about software testing. I'm a software tester in a leading Software testing companies. This a great knowledge for all beginners. Appreciate your effort to write about this.

    ReplyDelete
  12. It's great to be here and to learn more about software testing.software testing training in chennai

    ReplyDelete
  13. This really is my first time i visit here. I discovered so many entertaining stuff in your blog, especially its discussion. From a great deal of comments in your articles, I guess I am not alone having all of the leisure here! Maintain the superb work.It is very useful who is looking for top software testing companies

    ReplyDelete

  14. Thanks for sharing this informative content , Great work
    To crack scrum master interview : Scrum Master Interview Questions

    ReplyDelete
  15. Thanks for sharing this informative content , Great work
    To crack Agile coach interview : Agile coach interview questions

    ReplyDelete
  16. That is very interesting; you are a very skilled blogger. I have shared your website in my social networks! A very nice guide. I will definitely follow these tips. Thank you for sharing such detailed article.
    CONTRACTS

    ReplyDelete
  17. This blog will help to get more ideas. This is very helpful for Software Testing learners. Thank you for sharing this wonderful site. If someone wants to know about Software QA services this is the right place for you Software QA Companies. Visit here

    21 CFR Part 11 Compliance Testing

    HIPAA Validation Services

    Pci Compliance Testing services

    ReplyDelete
  18. Glad to visit this blog, really helpful. Gathered lots of information and waiting to see more updates.
    RPA Course in Chennai
    RPA Training Institute in Chennai
    RPA Online Course
    RPA Training in Coimbatore

    ReplyDelete

Share your feedback and queries here. Your feedback are more valuable to us!