3. What is User Story?
User stories are short, simple description of a feature told from
the perspective of the person who desires the new capability,
usually a user or customer of the system. They typically follow a
simple template:
As a <type of user>,
I want <some goal>
so that <some reason>.
3
4. As a traveler,
I want to login to the portal
so that I can book tickets
User Story - Example
4
6. If requirements are written down
• Then there is no guarantee that users will get what they want
• At best, users will get what was written down
So, Why User stories
6
7. So, Why User stories
Conversations
are
important
7
8. Three Cs : User Story is pointer to the requirement
1. Card
2. Conversation
3. Confirmation
Stories are traditionally
written on note cards
Details behind the story come out
during conversations with Product
Owner
Acceptance Tests confirm that Story
was coded correctly
Source: XP Magazine 8/30/01, Ron Jeffries. 8
9. Epics and Themes
Epic is large user
story
Theme: Collection of
Related user stories
9
10. Tips For Writing “Effective User Stories”
1. Be Clear on the Goal
2. Come up Graphical flow of Features
3. Turn Big Stories into bunch of smaller and
independent stories
Stories are independent to each other
Stories have single measurable responsibility
Stories do not repeat themselves
4. Come up with clear Conditions of Satisfaction
10
11. Tips For Writing “Effective User Stories”
ndependent — to be independent to each other
egotiable — describe the “what” not the “how”
aluable — must be valuable to the customer
stimatable — to help customer rank based on cost
ized Appropriately — consumable by team
for implementation
estable — Conditions of satisfaction should be measurable
11
13. Practical Case in Point
Develop “Bus Reservation Portal”
Goal: Develop the Portal so that users can reserve,
cancel their tickets.
13
14. Graphical Flow of Epics
User able to Login Booked History
Search
Logout
Payment ReservationSelect Bus and Seat
Select Tickets for
Cancellation
Cancellation
Release
Payment
14
15. Login Feature
As a Product Owner, I want
login functionality so that
users can login and sign-up
Given registered user access our website, When user enters username
and password, Then user should login and see the Booked History PageUser Story:
Conditions For Satisfaction:
Given that registered user forgets the password, When the user enters
registered email id, Then user password to be sent to his registered email
Given that new user wants to register When user enters registration
details Then user should be registered successfully
15
16. Writing User Stories
As a Product Owner, I want
login functionality so that
users can login and sign-up
Given registered user access our website, When
user enters valid username and password, Then
user should login and see the Booked History Page
Conditions For Satisfaction:
Given that registered user forgets the
password, When the user enters registered
email id, Then user password to be sent to his
registered email
As a traveler, I want to
login to the portal so that
I can book tickets
Given registered user access our website, When
user enters invalid username and password, Then
user should NOT login and User gets “Invalid User
Name/Password” message
Given registered user access our website, When
user enters valid username and password, Then user
login within 60 seconds.
As a traveler, I want to be
reminded of my password
if I give my email id so that
I can recollect my password
Given that registered user forgets the
password, When the user enters invalid email
id, Then user should be shown the message
“Invalid email ID”
16
17. Writing User Stories
As a Product Owner, I want
login functionality so that
users can login and sign-up
Given that new user wants to register When user submits
registration details (User Name, First Name, Last Name, email,
Gender, Date of Birth, Mobile Number, Nationality, Address,
ID_Type, ID_Number ) Then user to receive
“registration_to_be_confirmed” email with verify email link
Given that new user submits registration details and the user
receives “registration_to_be_confirmed” email with Verify email
link, When user selects verify email link Then user should be
registered successfully
As a new member, I want
to sign up to the portal
so that I can buy tickets
Given that new user wants to register When user enters
registration details (ID_Type, ID_Number ) Then user should be
restricted to select ID_Type as “Driving License”, “Passport”, “PAN
Card”, “Voted ID”, “SSN /Aadhar ID” only
Given that new user submits registration details and the user
receives “registration_to_be_confirmed” email with Verify email
link, When user does NOT select “verify email link” Then user
name should be kept in “HOLD” status for 30 days from the date
when user submitted registration details
17
Conditions For Satisfaction:
18. As a new member, I want to submit my registration details (User
Name, First Name, Last Name, email, Gender, Date of Birth, Mobile
Number, Nationality, Address, valid ID_Type, valid ID_Number ) so
that I can receive “registration_to_be_confirmed” email with verify
email link
As a new member, I will be restricted to select
ID_Type as “Driving License”, “Passport”, “PAN
Card”, “Voted ID”, “SSN /Aadhar ID” only
As a new member, I want to click on verify email link provided in
“registration_to_be_confirmed” email so that I can get registered
successfully
Given that new user wants to register When user submits
registration details (User Name, First Name, Last Name, email,
Gender, Date of Birth, Mobile Number, Nationality, Address,
ID_Type, ID_Number ) Then user to receive
“registration_to_be_confirmed” email with verify email link
Given that new user wants to register When user enters
registration details (ID_Type, ID_Number ) Then user should be
restricted to select ID_Type as “Driving License”, “Passport”, “PAN
Card”, “Voted ID”, “SSN /Aadhar ID” only
Given that new user submits registration details and the user
receives “registration_to_be_confirmed” email with Verify email
link, When user selects verify email link Then user should be
registered successfully
Given that new user submits registration details and the user
receives “registration_to_be_confirmed” email with Verify email
link, When user does NOT select “verify email link” Then user
name should be kept in “HOLD” status for 30 days from the date
when user submitted registration details
As a new member, I want
to sign up to the portal
so that I can buy tickets
18
19. Login
As a Product Owner, I want
login functionality so that
users can login and sign-up
As a traveler, I want to
login to the portal so that
I can book tickets
As a traveler, I want to be
reminded of my password
if I give my email id so that
I can recollect my password
As a new member, I want
to sign up to the portal
so that I can buy tickets
As a new member, I want to submit my registration details (User Name, First Name, Last Name,
email, Gender, Date of Birth, Mobile Number, Nationality, Address, valid ID_Type, valid
ID_Number ) so that I can receive “registration_to_be_confirmed” email with verify email link
As a new member, I will be restricted to select ID_Type as “Driving License”, “Passport”, “PAN
Card”, “Voted ID”, “SSN /Aadhar ID” only
As a new member, I want to click on verify email link provided in
“registration_to_be_confirmed” email so that I can get registered successfully
19
20. Login - Wireframe
As a Product Owner, I want
login functionality so that
users can login and sign-up
As a traveler, I want to
login to the portal so that
I can book tickets
As a traveler, I want to be
reminded of my password
if I give my email id so that
I can recollect my password
As a new member, I want
to sign up to the portal
so that I can buy tickets
20
22. Graphical Flow of Epics
User able to Login Booked History
Search
Logout
Payment ReservationSelect Bus and Seat
Select Tickets for
Cancellation
Cancellation
Release
Payment
22
24. Thank You
Linked In / Face Book : KRISHNAMURTY PAMMI
Email: krishnamurty.pammi@gmail.com
Whatsapp: + 91 9848456687
My Future Webinar: How to create agile Product Roadmap using story maps and deliver
products that customers Love
Saturday, July 04, 2015
9:00 PM - 10:00 PM (India Standard Time)
24