You are on page 1of 8

Presentation On

State Transition Testing


Course Code: SE-313
Course Title: Software Quality Assurance & Testing Lab

Submitted bY: Submitted to:


M R Khan Dipu Ms. Marzia Ahmed
191-35-393 Lecturer
Dept of Software Engineering Dept of Software Engineering
Daffodil International University Daffodil International University
Scenario

In the website of NID service of Bangladesh, first we


need to access giving username and password of our
registered account. If there user enter wrong password
more than 4 time , server will lock the account. That
means user can try 5 time sequentially. He can access in
the account if he put correct password in any of the first
5 attempts.
Test Cases
TC Test Test Steps Test Data Expected Actual Statu Remark
ID Scenario Result Result s s
Check 1. Go to site User ID: Incorrect Not as Fail Should
user https://services ABC usernam expect fix the
.nidw.govt.bd
01 login
2. Enter
Password: e or ed bug of
with @kk123 password the
valid username system.
data 3. Enter
password
4. Click log in

Check 1. Go to site User ID: Log in As Pass System


user https://services ABC into the expect is ok
.nidw.govt.bd
02 login
2. Enter
Password: system ed
with @kk124
valid username
data 3. Enter
password
4. Click log in
Test Cases
TC Test Test Steps Test Data Expected Actual Stat Remarks
ID Scenario Result Result us
Check 1. Go to site User ID: Incorrect As Pass Recorrec
user https://services ABC usernam expect t
.nidw.govt.bd
03 login
2. Enter
Password: e or ed usernam
with @kk125 password e or
valid username password
data 3. Enter and try
password again.
4. Click log in

Check 1. Go to site User ID: Log in Not as Pass System is


user https://services ABC into the expect not ok.
.nidw.govt.bd
04 login
2. Enter
Password: system ed
with @kk124
valid username
data 3. Enter
password
4. Click log in
State Transition Diagram
Incorrect Password

Start 1st try 2nd try


Correct Password
Correct Password Incorrect Password
Access
Correct Password
Granted
Correct Password 3rd try
Account
Locked Correct Password
Incorrect Password

Incorrect Password
5th try 4th try
Incorrect Password
State Transition Table

State Correct Password Incorrect Password

S1) Start S7 S2

S2) 1st attempt S7 S3

S3) 2nd attempt S7 S4

S4) 3rd attempt S7 S5

S5) 4th attempt S7 S6

S6) 5th attempt S7 S8

S7) Access Granted - -

S8) Account Locked - -


State Transition Graph
Lock Account

Incorrect Password

Start 1st try 2nd try 3rd try 4th try 5th try

Correct Password
Acces
Thank You

You might also like