Test Plan & Results - CankayaUniversity/ceng-407-408-2020-2021-System-Resource-Monitoring-and-Visualization Wiki

1. INTRODUCTION

This test plan creates the test processes to be applied for the System Resource Monitoring and Visualization system. This document contains details about features and test scenarios that will and will not be tested.

1.1 Version Control

1.2 Overview

This document is intended to test the functionality of the website pages and check whether the project fulfills the requirements specified in the SRS and SDD phases.

1.3 Scope

This document covers all login, registration, forgot user password, after login home, add server, installation, settings and users pages . Each page and its functions will be examined in detail. This document describes test cases as pass/fail design. The purpose of the document explains what to test and how to test it.

1.4 Terminology

2. FEATURES TO BE TESTED

2.1 Home Page (HP)

Users enter an email and password. Then clicking the Sign in button. After clicking the Sign in button, you will be redirected to the home page if the email and password are valid.

2.2 Register Page (RP)

Users enter an his/her names, emails and passwords. Then clicking the Sign up button, and the account successfully created.

2.3 Forgot Password (FP)

Users enter the e-mail address they use in the application. Then, when the Sign in button is clicked, the Password Reset link will be sent to the e-mail address they entered.

2.4 After Login Home Page (ALHP)

On this page, users can list virtual machines. If they want, they can add a new virtual machine with the Add Server button. If they press the name they entered while registering in the upper right, they can see the manage profile menu. If they click the users button from the left navigation, they can see other users if their role is Admin. They can switch to dark mode by pressing the moon icon at the top. They can also switch to full screen mode by pressing the circle to the left of the moon icon.

2.5 Add Server Page (ASP)

The name of the virtual machine to be monitored must be entered. Then the Save button should be pressed. In addition, this page includes features from the ALHP page (You can go to dark mode, full screen, profile management menu, servers and users pages from the Navigation section).

2.6 Installation Page (IP)

The agent should be downloaded to the virtual machine to be added by clicking the Download agent button on this page. In addition, this page includes features from the ALHP page (You can go to dark mode, full screen, profile management menu, servers and users pages from the Navigation section).

2.7 Settings Page (SP)

On this page, necessary changes for the profile (name, e-mail, password) can be made. The ones that do not want to be changed should be left blank or not changed. Also, this page includes features from the ALHP page (You can navigate to dark mode, full screen, profile management menu, servers and users pages from the Navigation section).

2.8 Users Page (UP)

Users can be modified on this page (playing their roles or kicking them out of application). In addition, this page includes features from the ALHP page (You can go to dark mode, full screen, profile management menu, servers and users pages from the Navigation section).

3 FEATURES NOT TO BE TESTED

Technical studies on the hardware of the device to be connected will not be tested.

4 ITEM PASS/FAIL CRITERIA

Describe the general rule to use to decide when a test case passes and when it fails.

4.1 Exit Criteria

Describe under what conditions the testing of the product is considered successful. Some examples are:

5 REFERENCES

SRS SDD

6 TEST DESIGN SPECIFICATIONS

6.1 Home Page (HP)

6.1.1 Subfeatures to be tested

6.1.1.1 Login (HP.Sign in_BTN)

If enter a invalid email and password, display an error message.

6.1.1.2 Register (HP.Create an Account)

This button direct to the registration page.

6.1.1.3 Forgot Password (HP.Forgot Password)

This button directs to the forgot password page.

6.1.2 Test Cases

6.2 Register Page (RP)

6.2.1 Subfeatures to be tested

6.2.1.1 Register (RP.Sign up_BTN)

This button create new user.

6.2.1.2 Sign in instead (RP.Sign in instead_BTN)

This button directs to the Home Page.

6.2.2 Test Cases

6.3 Forgot Password (FP)

6.3.1 Subfeatures to be tested

6.3.1.1 Sign in (FP.Sign in_BTN)

This button send password reset link to the entered email.

6.3.1.2 Back to Login (FP.BL_BTN)

This button directs to the Home Page.

6.3.2 Test Cases

6.4 After Login Home Page (ALHP)

6.4.1 Subfeatures to be tested

6.4.1.1 Add VM (ALHP.Add Server_BTN)

This button direct to the Add Server Page.

6.4.1.2 Dark (ALHP.Moon_BTN)

The Dark button turns off After Login Home Page to dark.

6.4.1.3 User Name (ALHP.UName_BTN)

This button open the Manage Profile menu

6.4.1.4 UName/Settings (ALHP.Settings_BTN)

This button dinrect to the Settings Page.

6.4.1.5 UName/Logout (ALHP.Logout_BTN)

This button log out user and redirect to Home Page.

6.4.1.6 Servers (ALHP.Servers_BTN)

This button direct to the Servers Page.

6.4.1.7 Users (ALHP.Users_BTN)

If the user is not admin, give an error message, if it is admin, direct it to the admin page.

6.4.1.6 Sphere (ALHP.Sphere_BTN)

This button take to full screen.

6.4.2 Test Cases

6.5 Add Server Page (ASP)

6.5.1 Subfeatures to be tested

6.5.1.1 Add to vm list this machine (ASP.Save_BTN)

If the Name field is empty give an error, otherwise go to the installation page.

6.5.1.2 Dark (ASP.Moon_BTN)

The Dark button turns off After Login Home Page to dark.

6.5.1.3 User Name (ASP.UName_BTN)

This button open the Manage Profile menu

6.5.1.4 UName/Settings (ASP.Settings_BTN)

This button dinrect to the Settings Page.

6.5.1.5 UName/Logout (ASP.Logout_BTN)

This button log out user and redirect to Home Page.

6.5.1.6 Servers (ASP.Servers_BTN)

This button direct to the Servers Page.

6.5.1.7 Users (ASP.Users_BTN)

If the user is not admin, give an error message, if it is admin, direct it to the admin page.

6.5.1.6 Sphere (ASP.Sphere_BTN)

This button take to full screen.

6.5.2 Test Cases

6.6 Installation Page (IP)

6.6.1 Subfeatures to be tested

6.6.1.1 Download Agent (IP.Download Agent_BTN)

This button download agent on the virtual machine.

6.6.1.2 Dark (IP.Moon_BTN)

The Dark button turns off After Login Home Page to dark.

6.6.1.3 User Name (IP.UName_BTN)

This button open the Manage Profile menu

6.6.1.4 UName/Settings (IP.Settings_BTN)

This button dinrect to the Settings Page.

6.6.1.5 UName/Logout (IP.Logout_BTN)

This button log out user and redirect to Home Page.

6.6.1.6 Servers (IP.Servers_BTN)

This button direct to the Servers Page.

6.6.1.7 Users (IP.Users_BTN)

If the user is not admin, give an error message, if it is admin, direct it to the admin page.

6.6.1.6 Sphere (IP.Sphere_BTN)

This button take to full screen.

6.6.2 Test Cases

6.7 Settings Page (SP)

6.7.1 Subfeatures to be tested

6.7.1.1 Change profile features (SP.Save_BTN)

If there is a space, do not change it, change the changed ones in the database.

6.7.1.2 Dark (SP.Moon_BTN)

The Dark button turns off After Login Home Page to dark.

6.7.1.3 User Name (SP.UName_BTN)

This button open the Manage Profile menu

6.7.1.4 UName/Settings (SP.Settings_BTN)

This button dinrect to the Settings Page.

6.7.1.5 UName/Logout (SP.Logout_BTN)

This button log out user and redirect to Home Page.

6.7.1.6 Servers (SP.Servers_BTN)

This button direct to the Servers Page.

6.7.1.7 Users (SP.Users_BTN)

If the user is not admin, give an error message, if it is admin, direct it to the admin page.

6.7.1.6 Sphere (SP.Sphere_BTN)

This button take to full screen.

6.7.2 Test Cases

6.8 Settings Page (UP)

6.8.1 Subfeatures to be tested

6.8.1.1 Change profile features (UP.Make Admin_BTN)

This button Set the user's role to Admin.

6.8.1.1 Change profile features (UP.Make User_BTN)

This button set the user's role to User.

6.8.1.1 Change profile features (UP.Delete_BTN)

This button delete the user.

6.8.1.2 Dark (UP.Moon_BTN)

The Dark button turns off After Login Home Page to dark.

6.8.1.3 User Name (UP.UName_BTN)

This button open the Manage Profile menu

6.8.1.4 UName/Settings (UP.Settings_BTN)

This button dinrect to the Settings Page.

6.8.1.5 UName/Logout (UP.Logout_BTN)

This button log out user and redirect to Home Page.

6.8.1.6 Servers (UP.Servers_BTN)

This button direct to the Servers Page.

6.8.1.7 Users (UP.Users_BTN)

If the user is not admin, give an error message, if it is admin, direct it to the admin page.

6.8.1.6 Sphere (UP.Sphere_BTN)

This button take to full screen.

6.8.2 Test Cases

7. Detailed Test Cases

7.1 HP

7.1.1 HP.Sign in_BTN

7.1.2 HP.Create an Account

7.1.3 HP.Forgot Password

7.2 RP

7.2.1 RP.Sign up_BTN

7.2.2 RP.Sign in instead_BTN

7.3 FP

7.3.1 FP.Sign in_BTN

7.3.2 FP.Back to login_BTN

7.4 ALHP

7.4.1 ALHP.Add Server_BTN

7.4.2 ALHP.Moon_BTN

7.4.3 ALHP.UName_BTN

7.4.4 ALHP.Settings_BTN

7.4.5 ALHP.Logout_BTN

7.4.6 ALHP.Servers_BTN

7.4.7 ALHP.Users_BTN

7.4.8 ALHP.Sphere_BTN

7.5 ASP

7.5.1 ALHP.Save_BTN

7.5.2 ASP.Moon_BTN

7.5.3 ASP.UName_BTN

7.5.4 ASP.Settings_BTN

7.5.5 ASP.Logout_BTN

7.5.6 ASP.Servers_BTN

7.5.7 ASP.Users_BTN

7.5.8 ASP.Sphere_BTN

7.6 IP

7.6.1 IP.Download Agent_BTN

7.6.2 IP.Moon_BTN

7.6.3 UName_BTN

7.6.4 IP.Settings_BTN

7.6.5 IP.Logout_BTN

7.6.6 IP.Servers_BTN

7.6.7 IP.Users_BTN

7.6.8 IP.Sphere_BTN

7.7 SP

7.7.1 SP.Save_BTN

7.7.2 SP.Moon_BTN

7.7.3 SP.UName_BTN

7.7.4 SP.Setings_BTN

7.7.5 SP.Logout_BTN

7.7.6 SP.Servers_BTN

7.7.7 SP.Users_BTN

7.7.8 SP.Sphere_BTN

7.8 UP

7.8.1 UP.Make Admin_BTN

7.8.2 UP.Make User_BTN

7.8.3 UP.Delete_BTN

7.8.4 UP.Moon_BTN

7.8.5 UP.UName_BTN

7.8.6 UP.Settings_BTN

7.8.7 UP.Logout_BTN

7.8.8 UP.Servers_BTN

7.8.9 UP.Users_BTN

7.8.10 UP.Sphere_BTN