Treść książki

Przejdź do opcji czytnikaPrzejdź do nawigacjiPrzejdź do informacjiPrzejdź do stopki
1.2.ROZWIĄZANIEPROBLEMU
10
11
1210
1311
1
2
3
4
5
Ó
7
8
9
No.
1
2
3
4
5
Ó
7
A
8
9
Forgotpassword
Myfavourite
Registration
Registration
Myprole
Myprole
Myprole
Myprole
Allorders
Feature
Logout
Login
B
AsauserIwanttochangemyprefrencesaboutrecevinginformationfromApplication
AsauserIwanttohavemyfavouriteitemsdisplayedinMyfavouritespage
Asauser1wanttohaveoptionforpasswordreminderinordertoresetit
AsauserIwanttohavemyorderhistorydisplayedinAllorderspage
Asauserlwanttohavemyinformationdisplayedinmyprofilepage
Asanewuser1wanttoregistermycompanyanduser
Asanewuser1wanttoregistertoexistingcompany
AsauserIwanttochangemypersonalinformation
Asauser1wanttochangemypassword
Asauser1wanttologintoApplication
AsauserIwanttobeabletologout
Tabela1010Listafunkcjonalności
Userstory
C
Application
idinJira
BugIDSheetname
D
US10
US11
US1
US2
US3
US4
US5
USÓ
US7
US8
US9
E
Beforetest
Beforetest
Beforetest
Beforetest
Beforetest
Beforetest
Beforetest
Beforetest
Beforetest
Beforetest
Beforetest
Status
F
ScenariosAutomated
Ó
3
G
3
5
4
2
4
Ó
4
2
2
2
0
0
0
0
0
0
0
0
H
1
1
Tabela1020Arkuszzopisemfunkcjonalnościiodpowiadającychjejscenariuszytestowych
A
B
C
D
E
F
G
H
I
1
ID:
US3
2
Feature:
Forgotpasswordsendemail
3
Area:
Homepage
4
5
Asa
User
Userstory
Ó
Iwantto
beabletoresetmyoldpassword
description:
7
Inorderto
login
8
9
l.
emailthatexistinDB
10
Scenarioslist:
2.
emailthatdoesn’texistinDB
11
3.
incorrectemail
12
13
Scenario
1.
emailthanexistinDB
14
Given:
Iamonmainpage
15
And:
Iclickon’’Login”button
And:
Iclickon“Forgotpassword1link
17
When:
Ienteremailofexistinguser
18
Then:
Iseeinformationthatemailwassentwithnewpassword
19
And:
emailwithnewpasswordissenttoenteredemail
20
J
K
L
M
Backtofeaturelist
Testreoort
Beforetest
N
0
P
Q
R
Exampleemail
john@test.test
Status
Beforetest
BuginJira
20Arkuszyzawierającychdokładnyopisfunkcjonalnościorazscenariuszetestowedo
danegouserstory(wrazzprzykładowymidanymitestowymi,statusemkażdegosce-
nariuszaiewentualnymlinkiemdozgłoszonegobłęduwJirze).
30Raportuzawierającegolistęwszystkichuserstorieswrazzichobecnymstatusem:
Beforetesting,Undertesting,Positive,Negative.
Następniezaczęłampracęnadprzygotowaniemtestówautomatycznych.
TestyautomatyczniezostałynapisanewjęzykuC#,przyużyciunastępującychnarzędzi:
nUnit(wersja2.6),
SeleniumWebDriver,
ChromeWebDriver.
Ponieważotrzymaliśmyzgodęnanapisanietylko10testów,postanowiłamzastosować
nietypowepodejście,abywtrakcietych10testówsprawdzićjaknajwięcej.Pierwszy
5