Today's Updates:

Thursday, May 15, 2014

Difference between Test Scenario and Test Case in software testing

Test scenario:
  • Test scenario is nothing but test procedure. A Test Scenarios have one too many relation with Test case, Means A scenario have multiple test case. Every time we have write test cases for test scenario
  • Which will tells about functionality and it will be written by tester.
  • During test analysis and design phase with the test basis as the input one would start identifying test condition and would determine high level test scenarios from these test conditions. At the later stages of test design 'concrete' test cases are defined from these test scenarios. One should be able to derive multiple test cases from one high level test scenario. 

Test case:
  • You define the functionality need to test in step by step. A standard test case template include: Test Case ID, Date, Created By, Description, Steps, Expected Results, and Actual Results etc.
  • Using the Test scenario(s) we check the functionality of Test case.
  • A set of inputs, execution preconditions, and expected outcomes developed for a particular objective, such as to exercise a particular program path or to verify compliance with a specific requirement.

Example:
Serial No
Test Scenario
Test Cases
1
Verify the “User Name” field in login page of the Gmail account

1.verify the user name field with invalid data
Ex:1233xyz34,
2.Lenthy User name
3.with empty space in between UN
4. With special characters...
Etc…
2
Verify the “password” field in login page of the Gmail account

1.verify the password field with invalid data
Ex:1233xyz34,
2.Lenthy Password
3.with empty space in between UN
4. With special characters...
Etc…

Enjoy testing! If you like it above Testing related information then please kindly take a moment to share with your friends. You can add your suggestions/tips/questions below in the comments section. Definitely, I will try to answer of all questions as earliest. 


You may also like:
Complete Testing Material
Testing basic interview questions



No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...