0% found this document useful (0 votes)
19 views

ADMIN CMS BASE TEST SCENARIOS

The document outlines various test scenarios for an admin portal, including login, password reset, CRUD operations, profile management, OTP verification, user management, and audit trails. Each section contains positive and negative test cases to ensure functionality and error handling. The tests aim to verify user interactions, data integrity, and system responses within the admin portal.

Uploaded by

rex.work11
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views

ADMIN CMS BASE TEST SCENARIOS

The document outlines various test scenarios for an admin portal, including login, password reset, CRUD operations, profile management, OTP verification, user management, and audit trails. Each section contains positive and negative test cases to ensure functionality and error handling. The tests aim to verify user interactions, data integrity, and system responses within the admin portal.

Uploaded by

rex.work11
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

ADMIN PORTAL ( CMS)

LOGIN TEST SCENARIOS

Positive Test Scenarios

1. Verify that admins can navigate to the login page.


2. Verify that admins can log in using a valid username.
3. Verify that admins can log in using a valid email.
4. Verify that admins can log in using a valid password.
5. Verify that the "Sign In" button is positioned below the password input
field.
6. Verify that upon entering valid credentials, admins are redirected to the
dashboard.

Negative Test Scenarios

1. Verify that admins cannot log in using an invalid username.


2. Verify that admins cannot log in using an invalid email.
3. Verify that admins cannot log in using an incorrect password.
4. Verify that when an admin attempts to log in with invalid credentials, an
appropriate error message is displayed.
5. Verify that when incorrect credentials are entered, the error message
displayed is: "Login failed. Please check your credentials and try again."

FORGOT PASSWORD TEST SCENARIOS

Positive Test Scenarios

1. Verify that admins can click on the "Forgot Password" link.


2. Verify that admins receive a password reset link when they request a
password reset.
3. Verify that admins are required to enter and confirm a new password.
4. Verify that admins can successfully log in using the newly created
password.
5. Verify that only valid email addresses are accepted when requesting a
password reset.
6. Verify that the "Forgot Password" link is located below the password input
field.

Negative Test Scenarios

1. Verify that the reset password link is not broken.


2. Verify that if the new password and confirmation password do not match,
the system prompts an error.
3. Verify that the password reset link is not sent to unregistered emails.
CRUD OPERATIONS TEST SCENARIOS

Positive Test Scenarios

1. Verify that admins can add or create records.


2. Verify that admins are prompted to fill in required fields.
3. Verify that when admins click on "Save" multiple times, the record is
stored just once.
4. Verify that admins can view records.
5. Verify that when an admin clicks on the "View" button, they are able to
see details of what has been created.
6. Verify that admins can edit records.
7. Verify that when the "Edit" button is clicked, the initial fields entered do
not clear.
8. Verify that there is an edit confirmation modal.
9. Verify that on the edit view, the initial information is visible.
10.Verify that admins can delete records.
11.Verify that there is a delete confirmation modal.
12.Verify that admins can search all columns.
13.Verify that the data table contains the required columns.

Negative Test Scenarios

1. Verify that the admin is unable to add new records if required fields are
not entered.
2. Verify that when an admin clicks "Cancel" on the confirmation modal, the
action does not take effect.
3. Verify that deleted data does not appear in the data table.
4. Verify that the admin is unable to register with the same email multiple
times.

PROFILE (LOGOUT/CHANGE PASSWORD) TEST SCENARIOS

Positive Test Scenarios

1. Verify that the "Administrator" button exists.


2. Verify that the "Administrator" button opens a dropdown menu.
3. Verify that the dropdown consists of "Change Password" and "Log Out"
options.
4. Verify that each link ("Change Password" & "Log Out") is clickable.
5. Verify that when admins click on "Change Password," they are able to
enter their old password, new password, and password confirmation.
6. Verify that admins can successfully change their passwords.
7. Verify that when admins click on "Log Out," they are redirected to the
login page.
8. Verify that if the old password entered is invalid, admins are prompted
with an error message.
9. Verify the presence of a "Cancel" or "Back" button on the "Change
Password" page.
Negative Test Scenarios

1. Verify that when an admin enters different passwords for initial and
confirmation fields, the password change does not take effect.
2. Verify that if the old password entered is invalid, admins are not allowed
to change the password.
3. Verify that if admins click "Cancel," the password change does not take
effect.
4. Verify that when admins click on "Log Out," they are not routed to another
menu but the login page.

OTP TEST SCENARIOS

Positive Test Scenarios

1. Verify that admins receive an OTP via phone and email.


2. Verify that admins can resend the OTP.
3. Verify that the OTP expires after 5 minutes.

Negative Test Scenarios

1. Verify that admins cannot log in with an invalid OTP.


2. Verify that admins cannot log in with an expired OTP.
3. Verify that when admins resend the OTP, the initial OTP does not work.

USER MANAGEMENT TEST SCENARIOS

Positive Test Scenarios

1. Verify the presence of "Users" in the admin menu.


2. Verify that admins can click on "Users."
3. Verify that admins can click on "Add New User."
4. Verify that admins can successfully add a user.
5. Verify that when creating a user, the user can be assigned to a role.
6. Verify that when creating a user, the email and phone numbers are
unique.
7. Verify that when an email is used more than once to create the same type
of admin, there is a prompt.
8. Verify that adding a user multiple times does not result in multiple entries.
9. Verify the presence of a data table displaying users.
10.Verify that users created can be downloaded in PDF and Excel formats and
can be printed.
11.Verify that admins can search for a particular user.
12.Verify that searching returns the correct search results.
13.Verify the presence of an action button.
14.Verify that the action button consists of "View," "Edit," and "Delete"
options.
15.Verify that viewing each user displays the correct user information.
16.Verify that there is an edit confirmation modal.
17.Verify that admins can edit a user successfully.
18.Verify that there is a delete confirmation modal.
19.Verify that admins can delete users successfully.
20.Verify that the data table contains the correct columns.
21.Verify that users receive credentials after their account is created.
22.Verify that the credentials provided are valid.
23.Verify that users can successfully log in with the credentials received.

Negative Test Scenarios

1. Verify that the "Users" link does not open another menu.
2. Verify that adding a new user does not throw an error.
3. Verify that adding a user with an invalid email does not create the user.
4. Verify that downloading the PDF and Excel files does not produce an error.
5. Verify that downloaded PDF and Excel files contain the correct data.
6. Verify that users cannot log in with invalid credentials.

AUDIT TRAILS TEST SCENARIOS

Positive Test Scenarios

1. Verify the presence of the "Audit Trail" menu.


2. Verify that the "Audit Trail" menu can be clicked.
3. Verify that clicking on the "Audit Trail" menu opens a data table.
4. Verify that each action taken on the application form and by the admin
populates in the audit trail.
5. Verify that admins can search within the audit trail table.
6. Verify that searches return the correct results.
7. Verify that admins can print and download the audit trail in PDF and Excel
formats.
8. Verify that pagination buttons are functional and navigate correctly.
9. Verify that when the number of audit trail entries exceeds 999, the
remaining numbers are displayed with commas.

Negative Test Scenarios

1. Verify that the "Audit Trail" menu is not a broken link.


2. Verify that performing a search that is not present in the data table
prompts a "No Data Available" message.
3. Verify that clicking on the "Audit Trail" does not display an incorrect
number of entries.
4. Verify that when admins search, it does not return incorrect data.
5. Verify that when admins download the audit trail in PDF and Excel formats,
it does not produce incorrect data.

You might also like