Pages

Ads 468x60px

Tuesday, October 6, 2009

Test Cases

Designing Test Cases


A test case is a detailed procedure that fully tests a feature or an aspect of a feature. Whereas the test plan describes what to test, a test case describes how to perform a particular test. You need to develop a test case for each test listed in the test plan. Figure 2.10 illustrates the point at which test case design occurs in the lab development and testing process.


Test case includes:

* The purpose of the test.

* Special hardware requirements, such as a modem.

* Special software requirements, such as a tool.

* 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.

Organizations take a variety of approaches to documenting test cases; these range from developing detailed, recipe-like steps to writing general descriptions. In detailed test cases, the steps describe exactly how to perform the test. In descriptive test cases, the tester decides at the time of the test how to perform the test and what data to use.

Most organizations prefer detailed test cases because determining pass or fail criteria is usually easier with this type of case. In addition, detailed test cases are reproducible and are easier to automate than descriptive test cases. This is particularly important if you plan to compare the results of tests over time, such as when you are optimizing configurations. Detailed test cases are more time-consuming to develop and maintain. On the other hand, test cases that are open to interpretation are not repeatable and can require debugging, consuming time that would be better spent on testing.

Test Case Design

Test Case ID:

It is unique number given to test case in order to be identified.

Test description:

The description if test case you are going to test.

Revision history:

Each test case has to have its revision history in order to know when and by whom it is created or modified.

Function to be tested:

The name of function to be tested.

Environment:

It tells in which environment you are testing.

Test Setup:

Anything you need to set up outside of your application for example printers, network and so on.

Test Execution:

It is detailed description of every step of execution.

Expected Results:

The description of what you expect the function to do.

Actual Results:

pass / failed

If pass - What actually happen when you run the test.

If failed - put in description of what you've observed.

discussion
Amit Ahuja




Software

19 comments:

  1. Thank you for sharing your valuable information. The blog is very good and informative and I will be recommended this information to my friends. I found one good software testing QA company which you should try.

    ReplyDelete
  2. Hi, This is so informative blog, I am doing course on Automation Testing Course and this blog is really informative for me. Thank you for this blog!

    ReplyDelete
  3. I really appreciate your hard work you put into your blog and detailed information you provide. Further More Information About software testing training institute in Delhi Contact Here-+91-9311002620 Or Visit Website- https://www.htsindia.com/software-testing-training-courses

    ReplyDelete
  4. Your blog is very nice, and I enjoy reading your blog. I want you to keep posting like this. You have good explaining skills, and this will help many people. I am thankful to you that you shared such a nice blog with us. Apart from all this, if you ever need any service related to QA Consulting Company in the future, then you can take the help of BetterQA. They are working in this field for a long time, and they always provide quality work.

    ReplyDelete
  5. It is an interesting article and informative moreover you are doing a good work keep it up.
    heating engineer london

    ReplyDelete
  6. i like your blogs and you are doing a good work keep it up.
    Delivery On TimeIn 3 to 4 business days Fast ShippingFor all orders Secure Payment100% secure payment SHOP BY CATEGORY Butter Cookies 20 Items Puff Items 14 Items Sweets 51 Items Packed Items 20 Items Instant BakeryAt Baba bakers we bake fresh Pizza & Sandwiches at all our branches. Home Delivery Best Bakery In Lahore delivers your favourite sweets.

    ReplyDelete
  7. This comment has been removed by the author.

    ReplyDelete
  8. This comment has been removed by the author.

    ReplyDelete
  9. This comment has been removed by the author.

    ReplyDelete

 

Sample text

Sample Text

Job Search



Sample Text