Monday, January 30, 2012

What is Test Scenario?


Test Scenario

Test Scenarios, as it little obvious with its phrase. Scenario is something which is meaningful. Let’s take an example of routine life – as in submitting a utility bill in queuing in front of the local bank or via your cell phones. Doing that scenario you have to meet some conditions (i.e. by date available for the bill) and some valid documents (utility bill). Available Date and Utility bill itself meaningless in someway until it is submitted/cleared. Therefore, all the steps you will take to submit your utility bill will become a SCENARIO. Thinking all these steps in computer software context is a Test Scenario if an automated systems is put into place in the bank and you are testing the utility bill scenario in that software application.

Technically, test scenario is group of test cases to achieve/complete desired goal (objective) with the software application.

Let’s take the other example step-wise.

How do you check your emails? Checking emails is Test Scenario… How?

1. Launch browser or tab
2. Enter mail.google.com
3. Provide user-id password
4. Press Login

Step 1 to 4 as a whole represent a Test Scenario, if you successfully managed to see your emails the Test Scenario is passed otherwise it will be considered as failed

Formally, “steps required to complete a meaningful activity is a test scenario”

In the above example steps 1 to 4 are individual test cases in order to test individual steps.

Test Scenarios are the cornerstone of Scenario Based testing.



No comments:

Post a Comment