ABCDEFGHIJKLMNOPQRSTUVWXYZ
1
Ticket URL
Daily Finance Management System
2
Tested ByMashrur Safir
3
Test Result (Passed/Failed/Not executed)16/16
4
5
Test Case IdModule/ Test ScenarioTest Case TitlePrerequsitesExpected ResultSteps/ActionsTest DataActual ResultStatusRemarks
6
TC01User RegistrationUser Registeriation and assertion of success via toast notificationUser is on the home pageToast Message:
User Registered Successfully
1. Click on the Register button.
2. Fill the register form with valid Gmail and other fields.
3. Click the register button
FirstName: Romana
LastName: Parisian
Email: shabab.ahmed2000sa+4144@gmail.com
PhoneNumber: 01235721989
Address: Apt. 062 29992 Sauer Pike, South Loycechester, WA 20828-3362
Gender: Male

Dynamic Gmail address was used.
Rest of the values were fake generated.
As expectedPassedEmail was stored in users.json for reuse in future flows
7
TC02Email VerificationVia Gmail API, it is verified that confirmation email is received.User Registration was successful.Email body:
Welcome to our platform! We're excited to have you onboard.
1. Get the Gmail token from google auth playground.
2. Fetch the email List and get the last mail ID
3. Extract snippet of that mail ID and verify
Gmail token from Google auth playground.
Store it in config.properties in resources
As expectedPassed
Email ID was saved in config.properties for fetching the email body of this email.
8
TC03Reset PasswordAttemp to resert password via an un registered emailUser is on the Reset pageYour email is not registered1. Click on Reset it here .
2. Enter an unregistered email address
3. Click SEND RESET LINK.
EMAIL:
shabab.ahmed2000sa@gmail.com
As expectedPassed-
9
TC04Reset PasswordAttemp to reset password with missign domainUser is on the Reset pagePlease enter a part following '@'. 'shabab.ahmed2000sa@' is incomplete.1. Click on Reset it here .
2. Enter an email address without the domain.
3. Click SEND RESET LINK.
shabab.ahmed2000sa@As expectedPassed-
10
TC05Reset PasswordAttempt to reset password by missing "@"User is on the Reset pagePlease include an '@' in the email address. 'shabab.ahmed2000sagmail.com is missing an '@'.1. Click on Reset it here.
2. Enter an email address without "@".
3. Click SEND RESET LINK.
shabab.ahmed2000sagmail.comAs expectedPassed-
11
TC06Reset PasswordAttempt to reset password with the valid registered Gmail addressUser is on the Reset pagePassword reset link sent to your email1. Click on Reset it here .
2. Enter the registered gmail.
3. Click SEND RESET LINK.
shabab.ahmed2000sa+4144@gmail.comAs expectedPassedEmail sent.
The valid email was sent from users.json file.
The email was from the last json object of the json array.
12
TC07Reset PasswordReset password via the reset link sent in gmail.Gmail API token alive.
User received the password reset mail with the link.
Password reset successfully1. Fetch last email ID using Gmail API
2. Extract reset link from this ID
3. Open link in browser
4. Enter and confirm new password
5. Submit
adminAs expectedPassedPassword was also updated in users.json file
13
TC08User Loginlogin using updated passwordPassword reset was successfulUser logs in.
Dashboard accessible.
1. Navigate to Daily Finance Management System
2. Enter email and the updated password.
3. Click LOGIN button.
Email: shabab.ahmed2000sa+4144@gmail.com
Password: admin
As expectedPassedThe email ID and password was fetched from users.json
14
TC09Adding cost itemAdding an item with all the fieldsUser is logged inSuccess alert appears:
"Product added successfully"
1. Click "Add Cost" button.
2. Fill Item Name, Amount and Remarks.
3. Click Submit button.
Item Name: all_items
Amount: 1000
Remarks: all item
As expectedPassed-
15
TC10Adding cost itemAdding an item with mandatory fieldsUser is logged inSuccess alert appears:
"Product added successfully"
1. Click "Add Cost" button.
2. Fill Item Name, Amount.
3. Click Submit button.
Item Name: mandatory_items
Amount: 1000
As expectedPassed-
16
TC11Item VerificationAsserting that both the items added appear in the item listBoth the items were addedBoth the items should be listed in the User Daily Costs if searched1. Navigate to user dashboard.
2. Search for "all_items".
3. Search for "mandatory_items".
all_items

mandatory_items
As expectedPassed-
17
TC12User Profile UpdateUpdate the Gmail address from the user profile sectionUser is logged inSuccess alert appears:
"User updated successfully"
1. Navigate to user profile by clicking user menu.
2. Click edit.
3. Update Gmail.
4. Click UPDATE button.
5. Accept the success alert.
shabab.ahmed2000sa+4145@gmail.comAs expectedPassedThis update was also done in users.json
18
TC13User AuthenticationAttempt login via the old Gmail addressGmail was updated. "Invalid email or password"1. Enter the old email.
2. Enter password.
3. Click LOGIN button.
shabab.ahmed2000sa+4144@gmail.comAs expectedPassed
This old email was kept in a variable before updating the email in users.json file
19
TC14User AuthenticationAttempt login via the updated Gmail addressGmail was updated. User logs in.
Dashboard accessible.
1. Enter updated email.
2. Enter password.
3. Click LOGIN button.
shabab.ahmed2000sa+4145@gmail.comAs expectedPassedThe email ID and password was fetched from users.json
20
TC15User Search (from admin panel)Login as admin and assert that the updated Gmail existis in the dashboard table. Gmail was updated.
Updated email appears after searching in the search box of the dashboard table. 1. Login with admin credentials passed securely from terminal.
2. Search using the updated gmail.
3. Match the row that appears with that of the updated gmail.
Email: admin@test.com
Password: admin123
Updated Gmail:
shabab.ahmed2000sa+4145@gmail.com
As expectedPassedSystem.getProperty() was used to read the admin credentials from CLI.
21
TC16Data ScrapingBeing logged in as admin, scrape user table data and write it to a text fileAdmin is logged in.All the user data from the table is written to webTable.txt 1. Log in using authToken and authTokenData injected into browser via setAuth() function in Utils.
2. Read the table.
3. write it to the text file.
authToken
authTokenData
As expectedPassed
The auth token and auth token data were stored while first admin login in the localStorage.json file.
Later in the second login, these data were fetched and injectedted into browser.
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100