Test Scenarios, Test Cases in addition to Test Design

In software testing life cycle, the 3rd stage is Test Design, inwards that 3rd stage of STCL Test Scenarios, Test cases together with Test Design are created. 

STLC life wheel phase

Many QA peoples oftentimes larn confused inwards betwixt Test Scenario together with Test Cases together with few of them fifty-fifty regard both are same. The output from the Test Scenario is considered every bit a input to examine cases. Few examples are given down. We volition hash out each term 1 past times one. Lets start amongst Test Scenarios.


Test Scenarios:
Test scenarios are besides called examine status together with it is real slow to honor out the examine scenarios nosotros only require to read requirements properly. For 1 examine Scenario at that topographic point tin live on a multiples examine cases.

Test Scenarios

Scenarios tin live on considered every bit a broader betoken of sentiment together with shorter betoken of sentiment also.
See the next examples

Example - 1 : login page
Requirements -

  • Login page. 
  • Login page should stimulate got cry upwards me button.
  • Login page should stimulate got forget password option.
  • Login page should stimulate got reset button.

These are the requirements for the Login modules.

Test Scenarios: (from Broader prospective)

  • Evaluating the login page.
  • Evaluation the cry upwards me button.
  • Evaluation the cry upwards me button.
  • Evaluation the cry upwards me button.

These are the examine scenarios for the login page. Scenarios may varies fellowship to fellowship around fellowship aspect for depth scenarios together with around fellowship regard every bit broader manner.

Example 2: Inquiry form
Requirements :

  • Inquiry cast should stimulate got Name, contact number, e-mail id, together with description field
  • Inquiry cast should stimulate got Update option.
  • Delete functionality for Inquiry Deletion.
  • Suppose these are the few requirements for the Inquiry form.

Test Scenarios :
If nosotros regard scenarios every bit broader prospective. Then scenarios every bit shown follows.

  • Evaluate Inquiry form.
  • Evaluate Update functionality of the Inquiry form.
  • Evaluate Delete functionality of the Inquiry form.

Some companies regard scenarios every bit follow also

  • Evaluate the Name acre of Inquiry form.
  • Evaluate the Contact publish filed of Inquiry form.
  • Evaluate the e-mail Id acre of Inquiry form.
  • Evaluate the Description acre of Inquiry form. 
  • Evaluate the Name acre spell editing the inquiry form.
  • Evaluate the Contact publish acre spell editing the inquiry form.
  • Evaluate the e-mail Id acre spell editing the inquiry form.
  • Evaluate the Description acre spell editing the inquiry form.
  • Evaluate the Delete functionality of Inquiry form.

These are 2 ways nosotros tin honor the scenarios. Some companies prefer outset way other prefers instant ways.
Lets meet how tin nosotros write the Test cases for Derived Test Scenarios.

Test Cases:

Test cases are similar a steps, how nosotros are going to examine each together with every requirement, it is similar a performing pre-created steps together with only verify the output whether it matches amongst expected output or not.

Test cases has many things similar examine instance id, objective,pre-requisite, steps, examine data, expected output, actual output, status/result together with remark, in 1 trial again these fields may vary fellowship to company. Lets meet the pregnant of each field.

Test instance ID: it is unique id for each examine case.

Objective: it is the objective of test. For representative : banking concern check the login functionality for valid credentials.

Pre-requisite: it is the pre-conditions which is require or mandatory to execute the examine cases i.e. similar to login into the Zmail to executte this examine instance it is mandatory that login page of Zmail should live on launched inwards browser. So the pre-requisite is Zmail page should live on launched.

Test Steps: it is the steps to execute that examine cases.

Test Data: Test information is a information which is requires for that examine cases execution (also explained below).

Expected Output : agency what output should arrangement give if nosotros performs this examine cases on system.

Actual Output : Means afterwards performing this steps on system, the arrangement produced out is called actual output. If Actual output together with Expected Output are dissimilar together with hence it tin live on said that the põrnikas is acquaint inwards the system.

Status: status of the examine cases agency move past times or fail, if actual together with expected output matches amongst each other agency examine instance passed else fail.

How to write the examine cases for the scenarios:
Lets regard the scenarios written inwards above. Take a representative of Inquiry cast the outset scenarios is:

Scenario 1: Evaluate the Name acre of Inquiry form

  • Check the minimum character.
  • Check the minimum character.
  • Check the answer when nosotros move inwards digit inwards Name filed.
  • Check the answer when nosotros move inwards particular char inwards Name field.
  • Check the answer when nosotros move inwards Character inwards Name Field. 

And much more…..

Scenario 2:Evaluate the Contact publish filed of Inquiry form.

  • Check if is bring the digit or not.
  • Check past times entering eleven digit.
  • Check past times entering nine digit.
  • Check past times entering char.
  • Check past times entering symbols.
  • Check past times keeping this filed empty.

And much more…

Like shown to a higher house you lot tin write the examine cases for every Scenarios.

Test Data:
The examine cases which nosotros are written to a higher house patently requires around data, that information naught but Test Data.means the Data which is require to execute the examine cases is Test Data.it is real of import to collect proper data. Sometime customer give examine information to us. But many fourth dimension nosotros require to practise the examine data.

For representative if out examine instance is like

Test Case : verify the login amongst valid credentials.
Test Date : User-name : Valid UID password : Valid PASS

Test case : verify the login functionality past times altering the user-name together with password.
Test Data : User-name : Valid PASS password : Valid UID

Test case : verify the login functionality past times entering the particular symbols inwards it.
Test Data : User-name :String of particular characters (#$@#$ etc)  password : String of particular characters (#$@#$ etc)

Test case : verify the inquiry cast past times entering valid data.
Test Data :  

  • Name : XYZ
  • Contact publish : 95123*****
  • Email : youremail@domainname.com
  • Description : inquired almost courses.

These are the few examples.

More interesting articles here :Generation Enggelmundus Internet Marketing Tool here :Zeageat IM http://www.software-testing-tutorials-automation.com/
Post a Comment (0)
Previous Post Next Post