Skip to content

Manual test script for Application Portfolio

Uzval Mallepeddi edited this page Jul 17, 2020 · 5 revisions

Application Portfolio Manual Test Script

A) First checks

  1. Make sure the welcome page has all the styling applied.
  2. Make sure the "About" and "Contact" pages are displayed correctly.
  3. Make sure if "Login" page is redirected correctly and successfully.
  4. Make sure that "Sign up" page is redirected correctly and successfully from both Login page and Welcome page.

B) Un-Authenticated User

B.i) Login & Signup

  1. Go to the Login page and click on New User? button.
  2. Sign up for a user account.
  3. While signing up for a new user account, Make sure that
    • Registration is unsuccessful if the password is empty.
    • Registration is unsuccessful if the password is less than 10 characters long.
    • Registration is unsuccessful if the email doesn't end with uc.edu, ucmail.uc.edu, mail.uc.edu.
    • Registration is unsuccessful if the first name/last name is empty.
    • Create a new user successfully.
    • After registration is successful, cross-check if an admin (Glen/Thomas/Sean) has received an email regarding your new signup.

B.ii) Forgot Password

  1. Go to the Login page. Click on the Forgot your password? button.
  2. Cross-check if you received an email that re-directs to a password reset page.

B.iii) Request new Software

  1. Make sure that Title, Description, Status, Request by, Software type are mandatory fields.
  2. The request software form should be submitted if the user hasn't passed the reCaptcha challenge.

C) Authenticated User

C.i) Role Verification

  1. Login into the application using the account you created in the Login/Signup step
  2. Scroll to the hamburger menu that is visible in the left top corner and click on it.
  3. Verify the role of the account you logged in with the header of the expanded hamburger menu.
  4. Make sure you have all options each specific to each individual role.

Please refer to Roles in Application Portfolio wiki page to know more about the roles and features associated with each role.

C.ii) Dashboard

  1. Make sure that you have the following hamburger menu options if logged in as an Admin.

    • Create Software Record
    • Create Vendor Record
    • Create Software Type
    • View all Software Records
    • View all Vendor Records
    • View all Software Types
    • Manage all Users
    • Import data
    • Export Software Records
    • Export Software Types
    • Export Vendor Records
  2. Make sure that you have the following hamburger menu options if logged in as an Manager.

    • Create Software Record
    • Create Vendor Record
    • Create Software Type
    • View all Software Records
    • View all Vendor Records
    • View all Software Types
  3. Make sure that you have the following hamburger menu options if logged in as an Owner.

    • Create Software Record
    • Create Vendor Record
    • Create Software Type
    • View all Software Records
    • View all Vendor Records
    • View all Software Types
    • Export Software Records
    • Export Software Types
    • Export Vendor Records
  4. Make sure that you have the following hamburger menu options if logged in as a Viewer.

    • View all Software Records
    • View all Vendor Records
    • View all Software Types
  5. Make sure that all the charts in the dashboard are reflecting the correct data.

  6. You can verify the data by hovering onto each chart item.

  7. Make sure that all chart item View buttons redirect the user to correct URL/paths.

C.iii) Create Vendor Record

  1. In the hamburger menu, click on the Create Vendor Record button.
  2. Check if Title and Description are mandatory fields.
  3. Create a Vendor Record.
  4. After successful creation, you must be automatically redirected to the created Vendor Record.

C.iv) Create Software Type

  1. In the hamburger menu, click on the Create Software Type button.
  2. Check if Title and Description are mandatory fields.
  3. Create a Software Type.
  4. After successful creation, you must be automatically redirected to the created Software Type.

C.v) Create Software Record

  1. Make sure that Title, Description, Status, Created by, Software type, Vendor are mandatory fields to create a software record.
  2. Make sure that Departments, Developers, Tech leads, Product Owners are multi-valued fields.
  3. Create a software record.
  4. After a software record is created, make sure that the creation process re-directed successfully to the created software record page.

C.vi) Edit Vendor Record

  1. You must be either an **Admin/Manager/Owner** to edit any field in the application.
  2. Go to the dashboard, in the hamburger menu, click on the View all Vendor Records button.
  3. Click on the edit button on any Vendor Record.
  4. Make the necessary changes to the Vendor Record.
  5. Click on the Update Vendor record button to save.
  6. After a successful update, you must be redirected automatically to the vendor record that you updated.

C.vii) Edit Software Type

  1. You must be either an **Admin/Manager/Owner** to edit any field in the application.
  2. Go to the dashboard, in the hamburger menu, click on the View all Software Type button.
  3. Click on the edit button on any Software Type.
  4. Make the necessary changes to the Software Type.
  5. Click on the Update Software Type button to save.
  6. After a successful update, you must be redirected automatically to the vendor record that you updated.

C.vi) Edit Software Record

  1. You must be either an **Admin/Manager/Owner** to edit any field in the application.
  2. Go to the dashboard, in the hamburger menu, click on the View all Software Records button.
  3. Click on the edit button on any Software Record.
  4. Make the necessary changes to the Software Record.
  5. Click on the Update Software Record button to save.
  6. After a successful update, you must be redirected automatically to the vendor record that you updated.

C.vii) Delete Software Record

  1. You must be either **Admin/Manager** to delete any record in the application.
  2. Go to the dashboard. Click on the Delete icon on any of the Software Records that's visible. Check for the confirmation message that the software record is deleted.
  3. Go to the dashboard, in the hamburger menu, click on the View all Software Records button.
  4. Click on the Delete button on any of the software records. Wait for the confirmation message to appear.

C.viii) Delete Vendor Record

  1. You must be either **Admin/Manager** to delete any record in the application.
  2. Go to the dashboard, in the hamburger menu, click on the View all Vendor Records button.
  3. Click on the Delete button on any of the vendor records. Wait for the confirmation message to appear.

C.ix) Delete Software Type

  1. You must be either **Admin/Manager** to delete any record in the application.
  2. Go to the dashboard, in the hamburger menu, click on the View all Software Types button.
  3. Click on the Delete button on any of the software types. Wait for the confirmation message to appear.

C.x) Search feature

  1. Go to the dashboard.
  2. On the header, you'll find a search bar. Enter a software record title and hit enter.
  3. It should be redirected to a search results page that displays all the information regarding the query.

D) User Management

  1. You need to be only an Admin to manage all users
  2. Login into the application using an admin account.
  3. Under the hamburger menu option in the dashboard, click on the Manage all users button.
  4. You must be navigated to a page that displays all the users.
  5. Click on the View button on any user.
  6. You must be able to view all the information about the user.
  7. Go back to the user's page and click on the Edit button.
  8. You must be redirected to a form that allows you to edit all the fields of that user. Edit the necessary fields and click on Save.
  9. After clicking Save you must be redirected to the view page of the user that displays all the updated fields.
  10. Go back to the user's page and click on the Delete button.
  11. The user must be deleted from the system. Wait for the confirmation message to be displayed.
  12. Go back to the user's page and click on the De-Activate button.
  13. If you try to login to the application as the user whose account is deactivated, the system shouldn't allow you to do so.

E) User Profile

  1. Go to the dashboard.
  2. In the header, at the top right corner, you must be able to see your name with a dropdown.
  3. Scroll over it and click on My Profile in the dropdown options.
  4. It should redirect you to a page that displays UC Libraries image and some information about you (the logged-in user).
  5. Click on the Edit Profile/Change Password button.
  6. You must be redirected to a page that has a form that allows you to edit all fields of your profile.
  7. Make necessary edits and enter your password to confirm the changes and click on Save button.
  8. You must be navigated to My Profile section as in step-3.

F) Import Data

  1. You need to be only an Admin to manage all users
  2. Go to the dashboard and in the hamburger menu options, click on the Import Data button.
  3. You must be redirected to a page that has Import data options available on the left and a blank white screen on the right.
  4. Check if you can only import data using CSV file format and the system shouldn't allow you to import using any other file format.
  5. Prepare the CSV file for upload.
  6. Select the Software Types option first and upload the CSV file. Make sure that this process de-duplicates the Software types available in the system vs the Software Types provided in the CSV file and creates the missing ones.
  7. Select the Vendor Record option first and upload the CSV file. Make sure that this process de-duplicates the Vendor Records available in the system vs the Vendor Records provided in the CSV file and creates the missing ones.
  8. Select the Software Record option first and upload the CSV file. Make sure that this process must be followed either by the creation of Software Types/Vendor Records or by a manual evaluation that all Software Types/Vendor Records provided in the file are in the system.
  9. Wait for the results of the import data option to appear in the right window.

G) Export Data

  1. You must be either **Admin/Owner** to export data from the application.
  2. Go to the dashboard.
  3. Under the hamburger menu options, you must be able to see:
    • Export Software Records
    • Export Software Types
    • Export Vendor Records
  4. Click on the Export Software Records button and it must download a CSV file that has all the information of software records in the system.
  5. Click on the Export Software Types button and it must download a CSV file that has all the information about software types in the system.
  6. Click on the Export Vendor Records button and it must download a CSV file that has all the information about vendor records in the system.