system test manual - california state university,...

40
System Test Manual Senior Project Mission Control Product Owner Charisse Shandro Mission Meow Cat Rescue and Adoptions, Inc. Team The Parrots are Coming Eric Bollinger; Vanessa Cruz Austin Lee Ron Lewis Robert Rico Eric Wong Verification of System Test Results: <05/07/2017>

Upload: others

Post on 12-May-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: System Test Manual - California State University, Sacramentoathena.ecs.csus.edu/~buckley/CSc191/MissionControl... · System Test Manual - 10 - Verification output of the Cat Medical

System Test Manual

Senior Project

Mission Control

Product Owner

Charisse Shandro

Mission Meow Cat Rescue and Adoptions, Inc.

Team The Parrots are Coming

Eric Bollinger;

Vanessa Cruz

Austin Lee

Ron Lewis

Robert Rico

Eric Wong

Verification of System Test Results: <05/07/2017>

Page 2: System Test Manual - California State University, Sacramentoathena.ecs.csus.edu/~buckley/CSc191/MissionControl... · System Test Manual - 10 - Verification output of the Cat Medical

Mission Control

System Test Manual

- 1 -

TABLE OF CONTENTS

(List screens and the user interactions for each screen)

Contents 1. Selenium Test Environment ................................................................................................ 4

1.1. Overview ...................................................................................................................... 4

1.2. Requirements .............................................................................................................. 4

1.3. Functionality of Test Suite ............................................................................................ 5

2. Cat Management ................................................................................................................ 6

2.1. Description ................................................................................................................... 6

2.2. Add .............................................................................................................................. 6

2.3. Edit .............................................................................................................................. 7

2.4. View ............................................................................................................................. 7

2.5. Filter ............................................................................................................................ 8

2.6. Add a Tag .................................................................................................................... 8

2.7. Remove a Tag ............................................................................................................. 9

2.8. Add a medical history ................................................................................................... 9

2.9. Edit a medical history ..................................................................................................10

2.10. Remove a medical history .......................................................................................10

2.11. Assign a foster to a cat ............................................................................................11

2.12. Assign an adopter to a cat .......................................................................................11

2.13. Upload a Photo........................................................................................................12

2.14. Set default photo .....................................................................................................12

3. Litter Management .............................................................................................................13

3.1. Description ..................................................................................................................13

3.2. Add a Litter .................................................................................................................13

3.3. Edit a Litter .................................................................................................................13

3.4. View a Litter ................................................................................................................14

3.5. Filter by Litter ..............................................................................................................14

4. Adopter Management ........................................................................................................16

4.1. Description ..................................................................................................................16

Page 3: System Test Manual - California State University, Sacramentoathena.ecs.csus.edu/~buckley/CSc191/MissionControl... · System Test Manual - 10 - Verification output of the Cat Medical

Mission Control

System Test Manual

- 2 -

4.2. Add an Adopter ...........................................................................................................16

4.3. Edit an Adopter ...........................................................................................................17

4.4. View an Adopter .........................................................................................................17

4.5. Find an Adopter ..........................................................................................................18

4.6. Upload a Photo ...........................................................................................................18

4.7. Change a default Photo ..............................................................................................19

5. Foster Management ...........................................................................................................20

5.1. Description ..................................................................................................................20

5.2. Add a Foster ...............................................................................................................20

5.3. Edit a Foster ...............................................................................................................21

5.4. View a Foster ..............................................................................................................21

5.5. Find a Foster ...............................................................................................................22

5.6. Upload a photo ...........................................................................................................22

5.7. Change Default Photo .................................................................................................23

6. File Management Description.............................................................................................24

6.2. Uploading a file to a Cat ..............................................................................................24

6.3. Uploading a file to an Adopter .....................................................................................25

6.4. Uploading a file to a Foster .........................................................................................25

6.5. Deleting a file from a Cat.............................................................................................26

6.6. Deleting a file from an Adopter ....................................................................................26

6.7. Deleting a file from a Foster ........................................................................................27

7. Tag Management ...............................................................................................................28

7.1. Description ..................................................................................................................28

7.2. Add a Tag ...................................................................................................................28

7.3. Attach a Tag to a Cat ..................................................................................................29

7.4. Attach a Tag to an Adopter .........................................................................................29

7.5. Attach a Tag to a Foster..............................................................................................30

7.6. Remove a Tag from a Cat ...........................................................................................30

7.7. Remove a Tag from an Adopter ..................................................................................31

7.8. Remove a Tag from a Foster ......................................................................................31

8. Adoption Event Management .............................................................................................32

8.1. Description ..................................................................................................................32

Page 4: System Test Manual - California State University, Sacramentoathena.ecs.csus.edu/~buckley/CSc191/MissionControl... · System Test Manual - 10 - Verification output of the Cat Medical

Mission Control

System Test Manual

- 3 -

8.2. Add an event ...............................................................................................................32

8.3. Edit an Event ..............................................................................................................33

8.4. View an event .............................................................................................................33

8.5. Delete an event ...........................................................................................................34

9. User Management .............................................................................................................35

9.1. Description ..................................................................................................................35

9.2. Add a User ..................................................................................................................35

9.3. Edit a User ..................................................................................................................36

9.4. Delete a User ..............................................................................................................36

9.5. Find a User .................................................................................................................37

10. Contacts Management ...................................................................................................37

10.1. Add ..........................................................................................................................37

10.2. Edit ..........................................................................................................................38

10.3. Filter ........................................................................................................................38

Page 5: System Test Manual - California State University, Sacramentoathena.ecs.csus.edu/~buckley/CSc191/MissionControl... · System Test Manual - 10 - Verification output of the Cat Medical

Mission Control

System Test Manual

- 4 -

1. Selenium Test Environment

1.1. Overview

■ The following tests are automated tests that test each function of each

major features.

■ Most of the tests use a MySQL Library in python to create entities and

relationships. These functionalities prevent the system from testing more

areas than needed. For this reason these are classified as unit tests.

1.2. Requirements

■ In order to successfully replicate and test the automated testing suite in

Mission Control, you will need to set up your testing environment.

■ First, you will need to download and install the Chrome Webdriver. All our

tests are based in the Web Browser Chrome.

■ Obtain the most up to date chrome driver from the following site.

■ https://sites.google.com/a/chromium.org/chromedriver/downloads

■ Once you have the chrome driver, you will need to install Python on your

system as well.

■ You Can find the most up to date version of python here:

■ https://www.python.org/downloads/

■ Once you have Python Installed. You will need to install the Python

Selenium Test Environment. The installations instructions can be found

here:

■ http://selenium-python.readthedocs.io

Page 6: System Test Manual - California State University, Sacramentoathena.ecs.csus.edu/~buckley/CSc191/MissionControl... · System Test Manual - 10 - Verification output of the Cat Medical

Mission Control

System Test Manual

- 5 -

1.3. Functionality of Test Suite

■ When the actual tests are happening, you should see a Chrome Browser

open up automatically, and the Python Script will run its test cases. It

uses CSS Selectors, Class Names, and DOM IDs to track, enter and

proceed through forms.

■ In an automated test window, you will see the following on your Chrome

Browse:

■ All tests print out “pass” if the tests are successful. Any other output are in

the form of error messages to be resolved.

To resolve the issues refer to the respective sections in the maintenance manual.

Page 7: System Test Manual - California State University, Sacramentoathena.ecs.csus.edu/~buckley/CSc191/MissionControl... · System Test Manual - 10 - Verification output of the Cat Medical

Mission Control

System Test Manual

- 6 -

2. Cat Management

2.1. Description

■ The Cat Management tests will test all functionalities associated to

managing a cat.

2.2. Add

■ This tests the basic functionality of adding a cat to the system.

■ Name: Robert Rico

■ Name: Austin Lee

■ Date: 5/2/2017

File Path: TestingAssets/Cats/cat_add.py

Test input: You will need to run the program as follows:

> py cats_add.py 1980 1050

Expected output: pass

☑ Verified

☐ Not-verified

Below is a screenshot of the verification of the passing test.

Page 8: System Test Manual - California State University, Sacramentoathena.ecs.csus.edu/~buckley/CSc191/MissionControl... · System Test Manual - 10 - Verification output of the Cat Medical

Mission Control

System Test Manual

- 7 -

2.3. Edit

■ This tests ensures that a cat can be successfully edited. It adds a Cat via

MySQL Python Libraries, and then places an edit through the Mission

Control front end. It then reloads it and ensures the changes are made.

■ Name: Robert Rico

■ Name: Austin Lee

■ Date: 5/2/2017

Test input: You will need to run the program as follows:

> py cat_edit.py 1980 1050

☑ Verified

☐ Not-verified

Verification output of the Cat Edit Script

2.4. View

■ This tests ensures that a cat can be successfully viewed. It adds a Cat via

MySQL Libraries, and then views the entity in the Mission Control front

end.

■ Name: Robert Rico

■ Name: Austin Lee

■ Date: 5/2/2017

File Path: TestingAssets/Cats/cat_add.py

Test input: You will need to run the program as follows:

> py cat_edit.py 1980 1050

☑ Verified

☐ Not-verified

Page 9: System Test Manual - California State University, Sacramentoathena.ecs.csus.edu/~buckley/CSc191/MissionControl... · System Test Manual - 10 - Verification output of the Cat Medical

Mission Control

System Test Manual

- 8 -

Verification output of the Cat View Test Script

2.5. Filter

■ This tests ensures that a cat can be successfully found. It adds a Cat via

MySQL Libraries, and then finds the entity in the Mission Control front

end.

■ Name: Robert Rico

■ Name: Austin Lee

■ Date: 5/11/2017

File Path: TestingAssets/Cats/cat_filter.py

Test input: You will need to run the program as follows:

> py cat_filter.py 1980 1050

☑ Verified

☐ Not-verified

Verification output of the Cat Filter Test Script

2.6. Add a Tag

■ The following test generates a tag and a cat using the MySQL Libraries. It

then proceeds to attach the generated tag to the cat via the Mission

Control system.

■ Name: Robert Rico

■ Name: Austin Lee

■ Date: 5/2/2017

File Path: TestingAssets/Tags/attach_cat.py

Test input: You will need to run the program as follows:

> py attach_cat.py 1980 1050

☑ Verified

☐ Not-verified

Page 10: System Test Manual - California State University, Sacramentoathena.ecs.csus.edu/~buckley/CSc191/MissionControl... · System Test Manual - 10 - Verification output of the Cat Medical

Mission Control

System Test Manual

- 9 -

Verification output of the Tag Attach Test Script

2.7. Remove a Tag

■ The following test generates a tag and a cat. It then proceeds to attach

the generated tag to the cat and then uses the Mission Control system to

remove the tag from the cat.

■ Name: Robert Rico

■ Name: Austin Lee

■ Date: 5/2/2017

File Path: TestingAssets/Tags/remove_tag_cat.py

Test input: You will need to run the program as follows:

> py remove_tag_cat.py 1980 1050

☑ Verified

☐ Not-verified

Verification output of the Tag Removal Test Script

2.8. Add a medical history

■ This test builds a cat and puts it into the Mission Control. It then navigates

to the cat and adds a medical history entry.

■ Name: Robert Rico

■ Name: Austin Lee

■ Date: 5/2/2017

File Path: TestingAssets/CatMedHistory/add.py

Test input: You will need to run the program as follows:

> py add.py 1980 1050

☑ Verified

☐ Not-verified

Page 11: System Test Manual - California State University, Sacramentoathena.ecs.csus.edu/~buckley/CSc191/MissionControl... · System Test Manual - 10 - Verification output of the Cat Medical

Mission Control

System Test Manual

- 10 -

Verification output of the Cat Medical History Add Test

2.9. Edit a medical history

■ This test builds a cat and puts it into the Mission Control. It then navigates

to the cat. It also builds a Medical History and creates the relationship via

MySQL. It then uses the system to edit a medical history entry.

■ Name: Robert Rico

■ Name: Austin Lee

■ Date: 5/4/2017

File Path: TestingAssets/CatMedHistory/edit.py

Test input: You will need to run the program as follows:

> py edit.py 1980 1050

☑ Verified

☐ Not-verified

Verification output of the Cat Medical History Edit Test

2.10. Remove a medical history

■ This test builds a cat and puts it into the Mission Control. It also builds a

Medical History and creates the relationship via MySQL. It then uses the

system to delete a medical history entry.

■ Name: Robert Rico

■ Name: Austin Lee

■ Date: 5/4/2017

File Path: TestingAssets/Cat/edit.py

Test input: You will need to run the program as follows:

> py edit.py 1980 1050

Page 12: System Test Manual - California State University, Sacramentoathena.ecs.csus.edu/~buckley/CSc191/MissionControl... · System Test Manual - 10 - Verification output of the Cat Medical

Mission Control

System Test Manual

- 11 -

☑ Verified

☐ Not-verified

Verification output of the Cat Medical History Delete Test

2.11. Assign a foster to a cat

■ This test builds a foster, and a cat in the MySQL libraries. It then uses the

system to create a relationship between these two entities.

■ Name: Robert Rico

■ Name: Austin Lee

■ Date: 5/4/2017

File Path: TestingAssets/Cat/attach_to_foster.py

Test input: You will need to run the program as follows:

> py attach_to_foster.py 1980 1050

☑ Verified

☐ Not-verified

Verification output of the Cat Foster test

2.12. Assign an adopter to a cat

■ This test builds an adopter, and a cat using the MySQL. It then uses the

system to create a relationship between the two entities.

■ Name: Robert Rico

■ Name: Austin Lee

■ Date: 5/4/2017

File Path: TestingAssets/Cat/attach_to_adopter.py

Test input: You will need to run the program as follows:

Page 13: System Test Manual - California State University, Sacramentoathena.ecs.csus.edu/~buckley/CSc191/MissionControl... · System Test Manual - 10 - Verification output of the Cat Medical

Mission Control

System Test Manual

- 12 -

> py attach_to_adopter.py 1980 1050

☑ Verified

☐ Not-verified

Verification output of the Cat Adopter Assignment Test

2.13. Upload a Photo

■ The following test generates a Cat via MySQL Libraries. The test suite

includes some default stock photos to test uploads. This test will bring in

the stored image, and upload the image to the created cat.

■ Name: Robert Rico

■ Name: Austin Lee

■ Date: 5/4/2017

File Path: TestingAssets/Cat/upload_image.py

Test input: You will need to run the program as follows:

> py upload_image.py 1980 1050

☑ Verified

☐ Not-verified

Verification output of the Photo Uploaded Test

2.14. Set default photo

■ This test generates a cat, and two file entities. It then makes the

relationships via MySQL Libraries in Python. It then uses the system to

navigate to the created cat and change the default picture from one

picture, to the other.

■ Name: Robert Rico

■ Name: Austin Lee

■ Date: 5/4/2017

Page 14: System Test Manual - California State University, Sacramentoathena.ecs.csus.edu/~buckley/CSc191/MissionControl... · System Test Manual - 10 - Verification output of the Cat Medical

Mission Control

System Test Manual

- 13 -

File Path: TestingAssets/Cat/delta_default_pic.py

Test input: You will need to run the program as follows:

> py delta_default_pic.py 1980 1050

☑ Verified

☐ Not-verified

Verification output of the Change Default Picture test.

3. Litter Management

3.1. Description

■ A Litter is an entity that can hold many cats. It has a one to many

relationship with the Cat Entity.

3.2. Add a Litter

■ The following tests adds a litter to the system using the Mission Control

front end.

■ Name: Robert Rico

■ Name: Austin Lee

■ Date: 5/4/2017

File Path: TestingAssets/Litters/litter_add.py

Test input: You will need to run the program as follows:

> py litter_add.py 1980 1050

☑ Verified

☐ Not-verified

Verification output of the Add Litter Test.

3.3. Edit a Litter

■ This test adds a Litter through the MySQL Libraries. The following tests

edits the created litter to the system using the Mission Control front end.

Page 15: System Test Manual - California State University, Sacramentoathena.ecs.csus.edu/~buckley/CSc191/MissionControl... · System Test Manual - 10 - Verification output of the Cat Medical

Mission Control

System Test Manual

- 14 -

■ Name: Robert Rico

■ Name: Austin Lee

■ Date: 5/4/2017

File Path: TestingAssets/Litters/litter_edit.py

Test input: You will need to run the program as follows:

> py litter_edit.py 1980 1050

☑ Verified

☐ Not-verified

Verification output of the Edit Litter Test.

3.4. View a Litter

■ The following tests adds a litter to the system using MySQL Libraries, and

views the Litter in the Mission Control System.

■ Name: Robert Rico

■ Name: Austin Lee

■ Date: 5/4/2017

File Path: TestingAssets/Litters/litter_view.py

Test input: You will need to run the program as follows:

> py litter_view.py 1980 1050

☑ Verified

☐ Not-verified

Verification output of the View Litter Test.

3.5. Filter by Litter

■ The following tests adds a litter to the system using MySQL Libraries, and

filters the Litter in the Mission Control System.

■ Name: Robert Rico

■ Name: Austin Lee

Date: 5/4/2017

File Path: TestingAssets/Litters/litter_filter.py

Page 16: System Test Manual - California State University, Sacramentoathena.ecs.csus.edu/~buckley/CSc191/MissionControl... · System Test Manual - 10 - Verification output of the Cat Medical

Mission Control

System Test Manual

- 15 -

Test input: You will need to run the program as follows:

> py litter_filter.py 1980 1050

☑ Verified

☐ Not-verified

Verification output of the View Litter Test.

Page 17: System Test Manual - California State University, Sacramentoathena.ecs.csus.edu/~buckley/CSc191/MissionControl... · System Test Manual - 10 - Verification output of the Cat Medical

Mission Control

System Test Manual

- 16 -

4. Adopter Management

4.1. Description

■ Adopters are an entities that have a one to many relationship with Cats.

The following tests ensure Add, View and photo related functionalities are

passing.

4.2. Add an Adopter

■ The following tests adds an adopter to the Mission Control system

through the frontend. It then compares it to a manual find using the

MySQL Libraries.

■ Name: Robert Rico

■ Name: Austin Lee

■ Date: 5/5/2017

File Path: TestingAssets/Adopters/adopters_add.py

Test input: You will need to run the program as follows:

> py adopters_add.py 1980 1050

☑ Verified

☐ Not-verified

Verification output of the Adopters Add Test.

Page 18: System Test Manual - California State University, Sacramentoathena.ecs.csus.edu/~buckley/CSc191/MissionControl... · System Test Manual - 10 - Verification output of the Cat Medical

Mission Control

System Test Manual

- 17 -

4.3. Edit an Adopter

■ The following tests adds an adopter to the Mission Control system

through the MySQL Libraries. It then makes an edit through the front end

and tests against a manual MySQL find.

■ Name: Robert Rico

■ Name: Austin Lee

■ Date: 5/5/2017

File Path: TestingAssets/Adopters/adopters_edit.py

Test input: You will need to run the program as follows:

> py adopters_edit.py 1980 1050

☑ Verified

☐ Not-verified

Verification output of the Adopters Edit Test.

4.4. View an Adopter

■ The following tests adds an adopter to the Mission Control system

through the MySQL Libraries. It then the adopter through the front end

and tests the display name.

■ Name: Robert Rico

■ Name: Austin Lee

■ Date: 5/5/2017

File Path: TestingAssets/Adopters/adopters_view.py

Test input: You will need to run the program as follows:

> py adopters_view.py 1980 1050

☑ Verified

☐ Not-verified

Verification output of the Adopters Edit Test.

Page 19: System Test Manual - California State University, Sacramentoathena.ecs.csus.edu/~buckley/CSc191/MissionControl... · System Test Manual - 10 - Verification output of the Cat Medical

Mission Control

System Test Manual

- 18 -

4.5. Find an Adopter

■ This tests ensures that a adopter can be successfully found. It adds an

Adopter via MySQL Libraries, and then finds the entity in the Mission

Control front end.

■ Name: Robert Rico

■ Name: Austin Lee

■ Date: 5/11/2017

File Path: TestingAssets/Adopters/adopter_filter.py

Test input: You will need to run the program as follows:

> py adopter_filter.py 1980 1050

☑ Verified

☐ Not-verified

Verification output of the Adopter Filter Test Script

4.6. Upload a Photo

■ The following tests adds an adopter to the Mission Control system

through the MySQL Libraries. It then uses the front end to upload a photo.

It tests against the front end to ensure a photo was uploaded.

■ Name: Robert Rico

■ Name: Austin Lee

■ Date: 5/5/2017

File Path: TestingAssets/Adopters/upload_image.py

Test input: You will need to run the program as follows:

> py upload_image.py 1980 1050

☑ Verified

☐ Not-verified

Verification output of the Adopters Upload Image Test.

Page 20: System Test Manual - California State University, Sacramentoathena.ecs.csus.edu/~buckley/CSc191/MissionControl... · System Test Manual - 10 - Verification output of the Cat Medical

Mission Control

System Test Manual

- 19 -

4.7. Change a default Photo

■ The following tests adds an adopter to the Mission Control system

through the MySQL Libraries. It also uploads and adds two images to the

system. It then sets one as the default image.It proceeds to use the

Mission Control Front end to change the default image.

■ Name: Robert Rico

■ Name: Austin Lee

■ Date: 5/5/2017

File Path: TestingAssets/Adopters/delta_default_pic.py

Test input: You will need to run the program as follows:

> py delta_default_pic.py 1980 1050

☑ Verified

☐ Not-verified

Verification output of the Adopters Change Default Photo Test.

Page 21: System Test Manual - California State University, Sacramentoathena.ecs.csus.edu/~buckley/CSc191/MissionControl... · System Test Manual - 10 - Verification output of the Cat Medical

Mission Control

System Test Manual

- 20 -

5. Foster Management

5.1. Description

■ Fosters have a one to many relationship with cats. A single Foster can

have one or many cats. The following tests ensure that adding, editing,

viewing, and photo management functions are passing.

5.2. Add a Foster

■ The following tests adds a foster to the Mission Control system using the

front end.

■ Name: Robert Rico

■ Name: Austin Lee

■ Date: 5/5/2017

File Path: TestingAssets/Fosters/fosters_add.py

Test input: You will need to run the program as follows:

> py fosters_add.py 1980 1050

☑ Verified

☐ Not-verified

Verification output of the Fosters Add Test.

Page 22: System Test Manual - California State University, Sacramentoathena.ecs.csus.edu/~buckley/CSc191/MissionControl... · System Test Manual - 10 - Verification output of the Cat Medical

Mission Control

System Test Manual

- 21 -

5.3. Edit a Foster

■ The following tests adds a foster to the Mission Control system using the

MySQL Libraries and then runs an edit test through the MIssion Control

Front End.

■ Name: Robert Rico

■ Name: Austin Lee

■ Date: 5/5/2017

File Path: TestingAssets/Fosters/fosters_edit.py

Test input: You will need to run the program as follows:

> py fosters_edit.py 1980 1050

☑ Verified

☐ Not-verified

Verification output of the Fosters Edit Test.

5.4. View a Foster

■ The following tests adds a foster to the Mission Control system using the

MySQL Libraries and then runs an view test through the MIssion Control

Front End.

■ Name: Robert Rico

■ Name: Austin Lee

■ Date: 5/5/2017

File Path: TestingAssets/Fosters/fosters_view.py

Test input: You will need to run the program as follows:

> py fosters_view.py 1980 1050

☑ Verified

☐ Not-verified

Verification output of the Fosters Edit Test.

Page 23: System Test Manual - California State University, Sacramentoathena.ecs.csus.edu/~buckley/CSc191/MissionControl... · System Test Manual - 10 - Verification output of the Cat Medical

Mission Control

System Test Manual

- 22 -

5.5. Find a Foster

■ This tests ensures that a foster can be successfully found. It adds a

Foster via MySQL Libraries, and then finds the entity in the Mission

Control front end.

■ Name: Robert Rico

■ Name: Austin Lee

■ Date: 5/11/2017

File Path: TestingAssets/Fosters/foster_filter.py

Test input: You will need to run the program as follows:

> py foster_filter.py 1980 1050

☑ Verified

☐ Not-verified

Verification output of the Foster Filter Test Script

5.6. Upload a photo

■ The following tests adds an foster to the Mission Control system through

the MySQL Libraries. It then uses the front end to upload a photo. It tests

against the front end to ensure a photo was uploaded.

■ Name: Robert Rico

■ Name: Austin Lee

■ Date: 5/5/2017

File Path: TestingAssets/Fosters/upload_image.py

Test input: You will need to run the program as follows:

> py upload_image.py 1980 1050

☑ Verified

☐ Not-verified

Verification output of the Fosters Upload Image Test.

Page 24: System Test Manual - California State University, Sacramentoathena.ecs.csus.edu/~buckley/CSc191/MissionControl... · System Test Manual - 10 - Verification output of the Cat Medical

Mission Control

System Test Manual

- 23 -

5.7. Change Default Photo

■ The following tests adds an foster to the Mission Control system through

the MySQL Libraries. It also uploads and adds two images to the system.

It then sets one as the default image.It proceeds to use the Mission

Control Front end to change the default image.

■ Name: Robert Rico

■ Name: Austin Lee

■ Date: 5/5/2017

File Path: TestingAssets/Fosters/delta_default_pic.py

Test input: You will need to run the program as follows:

> py delta_default_pic.py 1980 1050

☑ Verified

☐ Not-verified

Verification output of the Fosters Change Default Photo Test.

Page 25: System Test Manual - California State University, Sacramentoathena.ecs.csus.edu/~buckley/CSc191/MissionControl... · System Test Manual - 10 - Verification output of the Cat Medical

Mission Control

System Test Manual

- 24 -

6. File Management

Description

■ Throughout the system there are photos and files that must be uploaded

to certain entities. The following tests ensure adding, altering and deleting

files are functioning.

6.2. Uploading a file to a Cat

■ The following tests adds a cat to the Mission Control system through the

MySQL Libraries. It then uses the front end to upload a file. It tests

against the front end to ensure the file was uploaded.

■ Name: Robert Rico

■ Name: Austin Lee

■ Date: 5/7/2017

File Path: TestingAssets/Files/add_cat.py

Test input: You will need to run the program as follows:

> py add_cat.py 1980 1050

☑ Verified

☐ Not-verified

Verification output of the Add File to Cat Test.

Page 26: System Test Manual - California State University, Sacramentoathena.ecs.csus.edu/~buckley/CSc191/MissionControl... · System Test Manual - 10 - Verification output of the Cat Medical

Mission Control

System Test Manual

- 25 -

6.3. Uploading a file to an Adopter

■ The following tests adds an Adopter to the Mission Control system

through the MySQL Libraries. It then uses the front end to upload a file. It

tests against the front end to ensure the file was uploaded.

■ Name: Robert Rico

■ Name: Austin Lee

■ Date: 5/7/2017

File Path: TestingAssets/Files/add_adopter.py

Test input: You will need to run the program as follows:

> py add_adopter.py 1980 1050

☑ Verified

☐ Not-verified

Verification output of the Add File to AdopterTest.

6.4. Uploading a file to a Foster

■ The following tests adds a Foster to the Mission Control system through

the MySQL Libraries. It then uses the front end to upload a file. It tests

against the front end to ensure the file was uploaded.

■ Name: Robert Rico

■ Name: Austin Lee

■ Date: 5/7/2017

File Path: TestingAssets/Files/add_foster.py

Test input: You will need to run the program as follows:

> py add_foster.py 1980 1050

☑ Verified

☐ Not-verified

Verification output of the Add File to Foster Test.

Page 27: System Test Manual - California State University, Sacramentoathena.ecs.csus.edu/~buckley/CSc191/MissionControl... · System Test Manual - 10 - Verification output of the Cat Medical

Mission Control

System Test Manual

- 26 -

6.5. Deleting a file from a Cat

■ The following tests adds a Foster to the Mission Control system through

the MySQL Libraries. It then uses the front end to upload a file. It tests

against the front end to ensure the file was uploaded.

■ Name: Robert Rico

■ Name: Austin Lee

■ Date: 5/7/2017

File Path: TestingAssets/Files/add_foster.py

Test input: You will need to run the program as follows:

> py add_foster.py 1980 1050

☑ Verified

☐ Not-verified

Verification output of the Add File to Foster Test.

6.6. Deleting a file from an Adopter

■ The following tests adds a Foster to the Mission Control system through

the MySQL Libraries. It then uses the front end to upload a file. It tests

against the front end to ensure the file was uploaded.

■ Name: Robert Rico

■ Name: Austin Lee

■ Date: 5/7/2017

File Path: TestingAssets/Files/add_foster.py

Test input: You will need to run the program as follows:

> py add_foster.py 1980 1050

☑ Verified

☐ Not-verified

Verification output of the Add File to Foster Test.

Page 28: System Test Manual - California State University, Sacramentoathena.ecs.csus.edu/~buckley/CSc191/MissionControl... · System Test Manual - 10 - Verification output of the Cat Medical

Mission Control

System Test Manual

- 27 -

6.7. Deleting a file from a Foster

■ The following tests adds a Foster to the Mission Control system through

the MySQL Libraries. It then uses the front end to upload a file. It tests

against the front end to ensure the file was uploaded.

■ Name: Robert Rico

■ Name: Austin Lee

■ Date: 5/7/2017

File Path: TestingAssets/Files/add_foster.py

Test input: You will need to run the program as follows:

> py add_foster.py 1980 1050

☑ Verified

☐ Not-verified

Verification output of the Add File to Foster Test.

Page 29: System Test Manual - California State University, Sacramentoathena.ecs.csus.edu/~buckley/CSc191/MissionControl... · System Test Manual - 10 - Verification output of the Cat Medical

Mission Control

System Test Manual

- 28 -

7. Tag Management

7.1. Description

■ The system has the capability of applying custom tags to certain entities

to add in filtering and quick searching and labelling.

7.2. Add a Tag

■ The following tests adds a Tag to the Mission Control system through the

front end.

■ Name: Robert Rico

■ Name: Austin Lee

■ Date: 5/5/2017

File Path: TestingAssets/Tags/add.py

Test input: You will need to run the program as follows:

> py add.py 1980 1050

☑ Verified

☐ Not-verified

Verification output of the Tag Add Test.

Page 30: System Test Manual - California State University, Sacramentoathena.ecs.csus.edu/~buckley/CSc191/MissionControl... · System Test Manual - 10 - Verification output of the Cat Medical

Mission Control

System Test Manual

- 29 -

7.3. Attach a Tag to a Cat

■ The following tests adds a Tag and a Cat to the system using the MySQL

Libraries. It then uses the Mission Control front end to attach the two

entities.

■ Name: Robert Rico

■ Name: Austin Lee

■ Date: 5/5/2017

File Path: TestingAssets/Tags/attach_cat.py

Test input: You will need to run the program as follows:

> py attach_cat.py 1980 1050

☑ Verified

☐ Not-verified

Verification output of the Tag Cat Attachment Test.

7.4. Attach a Tag to an Adopter

■ The following tests adds a Tag and an Adopter to the system using the

MySQL Libraries. It then uses the Mission Control front end to attach the

two entities.

■ Name: Robert Rico

■ Name: Austin Lee

■ Date: 5/5/2017

File Path: TestingAssets/Tags/attach_adopter.py

Test input: You will need to run the program as follows:

> py attach_foster.py 1980 1050

☑ Verified

☐ Not-verified

Verification output of the Tag Adopter Attachment Test.

Page 31: System Test Manual - California State University, Sacramentoathena.ecs.csus.edu/~buckley/CSc191/MissionControl... · System Test Manual - 10 - Verification output of the Cat Medical

Mission Control

System Test Manual

- 30 -

7.5. Attach a Tag to a Foster

■ The following tests adds a Tag and a Foster to the system using the

MySQL Libraries. It then uses the Mission Control front end to attach the

two entities.

■ Name: Robert Rico

■ Name: Austin Lee

■ Date: 5/5/2017

File Path: TestingAssets/Tags/attach_foster.py

Test input: You will need to run the program as follows:

> py attach_foster.py 1980 1050

☑ Verified

☐ Not-verified

Verification output of the Tag Foster Attachment Test.

7.6. Remove a Tag from a Cat

■ The following tests adds a Tag and a Cat to the system using the MySQL

Libraries. It then uses the Mission Control front end to detach the two

entities.

■ Name: Robert Rico

■ Name: Austin Lee

■ Date: 5/5/2017

File Path: TestingAssets/Tags/remove_cat.py

Test input: You will need to run the program as follows:

> py remove_cat.py 1980 1050

☑ Verified

☐ Not-verified

Verification output of the Tag Foster Attachment Test.

Page 32: System Test Manual - California State University, Sacramentoathena.ecs.csus.edu/~buckley/CSc191/MissionControl... · System Test Manual - 10 - Verification output of the Cat Medical

Mission Control

System Test Manual

- 31 -

7.7. Remove a Tag from an Adopter

■ The following tests adds a Tag and an Adopter to the system using the

MySQL Libraries. It then uses the Mission Control front end to detach the

two entities.

■ Name: Robert Rico

■ Name: Austin Lee

■ Date: 5/5/2017

File Path: TestingAssets/Tags/remove_tag_adopter.py

Test input: You will need to run the program as follows:

> py remove_tag_adopter.py 1980 1050

☑ Verified

☐ Not-verified

Verification output of the Tag Foster Attachment Test.

7.8. Remove a Tag from a Foster

■ The following tests adds a Tag and a Foster to the system using the

MySQL Libraries. It then uses the Mission Control front end to detach the

two entities.

■ Name: Robert Rico

■ Name: Austin Lee

■ Date: 5/5/2017

File Path: TestingAssets/Tags/remove_tag_foster.py

Test input: You will need to run the program as follows:

> py remove_tag_foster.py 1980 1050

☑ Verified

☐ Not-verified

Verification output of the Tag Foster Attachment Test.

Page 33: System Test Manual - California State University, Sacramentoathena.ecs.csus.edu/~buckley/CSc191/MissionControl... · System Test Manual - 10 - Verification output of the Cat Medical

Mission Control

System Test Manual

- 32 -

8. Adoption Event Management

8.1. Description

■ The system is capable of holding adoption events where users can assign

volunteers and cats to said events. The events are a many to many

relationship with cats and volunteers/users.

8.2. Add an event

■ This test uses the Mission Control Front end to create an adoption event

and attach a single cat, and a single user to the event.

■ Name: Robert Rico

■ Name: Austin Lee

■ Date: 5/2/2017

File Path: TestingAssets/AdoptionEvents/add.py

Test input: You will need to run the program as follows:

> py add.py 1980 1050

☑ Verified

☐ Not-verified

Verification output of the Adoption Event Add Test

Page 34: System Test Manual - California State University, Sacramentoathena.ecs.csus.edu/~buckley/CSc191/MissionControl... · System Test Manual - 10 - Verification output of the Cat Medical

Mission Control

System Test Manual

- 33 -

8.3. Edit an Event

■ This test uses the MySQL Libraries to insert an adoption event into the

system. It then Mission Control Front end to edit an adoption event.

■ Name: Robert Rico

■ Name: Austin Lee

■ Date: 5/2/2017

File Path: TestingAssets/AdoptionEvents/edit.py

Test input: You will need to run the program as follows:

> py edit.py 1980 1050

☑ Verified

☐ Not-verified

Verification output of the Adoption Event Edit Test

8.4. View an event

■ This test uses the MySQL Libraries to insert an adoption event into the

system. It then Mission Control Front end to view an adoption event.

■ Name: Robert Rico

■ Name: Austin Lee

■ Date: 5/2/2017

File Path: TestingAssets/AdoptionEvents/view.py

Test input: You will need to run the program as follows:

> py view.py 1980 1050

☑ Verified

☐ Not-verified

Verification output of the Adoption Event View Test

Page 35: System Test Manual - California State University, Sacramentoathena.ecs.csus.edu/~buckley/CSc191/MissionControl... · System Test Manual - 10 - Verification output of the Cat Medical

Mission Control

System Test Manual

- 34 -

8.5. Delete an event

■ This test uses the MySQL Libraries to insert an adoption event into the

system. It then Mission Control Front end to delete an adoption event.

■ Name: Robert Rico

■ Name: Austin Lee

Date: 5/2/2017

File Path: TestingAssets/AdoptionEvents/delete.py

Test input: You will need to run the program as follows:

> py delete.py 1980 1050

☑ Verified

☐ Not-verified

Verification output of the Adoption Event Delete Test

Page 36: System Test Manual - California State University, Sacramentoathena.ecs.csus.edu/~buckley/CSc191/MissionControl... · System Test Manual - 10 - Verification output of the Cat Medical

Mission Control

System Test Manual

- 35 -

9. User Management

9.1. Description

■ The system holds a very basic authorization system in which users can

log in and out of the system. The following tests ensure the basic

functionalities of users is in order.

9.2. Add a User

■ This particular test needs to be ran manually. For this test to work there

must already be an admin user in the system. This test will test the user

add functionality.

Name: Robert Rico

Name: Austin Lee

Date: 5/7/2017

Once logged into the system, use the navigation bar to find the volunteer

section.

Once on this page, click “Invite New User”

On the

next screen,

put in an

email that

does not exist in the system. The email account provided will receive an email that provides

information on how to join the system. Once the necessary steps have been followed you

should be able to log into the system. Please see the maintenance manual for more information.

Page 37: System Test Manual - California State University, Sacramentoathena.ecs.csus.edu/~buckley/CSc191/MissionControl... · System Test Manual - 10 - Verification output of the Cat Medical

Mission Control

System Test Manual

- 36 -

9.3. Edit a User

■ This tests ensures that a user can be successfully edited. It adds a User

via MySQL, and then places an edit using the frontend. It also reloads the

system and ensures the changes are made.

■ Name: Robert Rico

■ Name: Austin Lee

■ Date: 5/5/2017

File Path: TestingAssets/Users/edit.py

Test input: You will need to run the program as follows:

> py edit.py 1980 1050

☑ Verified

☐ Not-verified

Verification output of the User Edit Script

9.4. Delete a User

■ This tests ensures that a user can be successfully deleted. It adds a User

via MySQL, and then deletes it from the front end. It also uses the front

end to ensure the User is no longer visible

■ Name: Robert Rico

■ Name: Austin Lee

■ Date: 5/5/2017

File Path: TestingAssets/Users/edit.py

Test input: You will need to run the program as follows:

> py edit.py 1980 1050

☑ Verified

☐ Not-verified

Verification output of the User Delete Script

Page 38: System Test Manual - California State University, Sacramentoathena.ecs.csus.edu/~buckley/CSc191/MissionControl... · System Test Manual - 10 - Verification output of the Cat Medical

Mission Control

System Test Manual

- 37 -

9.5. Find a User

■ This tests ensures that a user/volunteer can be successfully found. It

adds a User/Volunteer via MySQL Libraries, and then finds the entity in

the Mission Control front end.

■ Name: Robert Rico

■ Name: Austin Lee

■ Date: 5/2/2017

File Path: TestingAssets/User/find.py

Test input: You will need to run the program as follows:

> py find.py 1980 1050

☑ Verified

☐ Not-verified

Verification output of the Foster Filter Test Script

10. Contacts Management

10.1. Add

■ This tests the basic functionality of adding a contact to the system.

■ Name: Robert Rico

■ Name: Austin Lee

Date: 5/11/2017

File Path: TestingAssets/Contacts/add.py

Test input: You will need to run the program as follows:

> py add.py 1980 1050

Expected output: pass

☑ Verified

☐ Not-verified

Page 39: System Test Manual - California State University, Sacramentoathena.ecs.csus.edu/~buckley/CSc191/MissionControl... · System Test Manual - 10 - Verification output of the Cat Medical

Mission Control

System Test Manual

- 38 -

Below is a screenshot of the verification of the passing test.

10.2. Edit

■ This tests the basic functionality of editing a contact in the system.

■ Name: Robert Rico

■ Name: Austin Lee

Date: 5/11/2017

File Path: TestingAssets/Contacts/edit.py

Test input: You will need to run the program as follows:

> py edit.py 1980 1050

Expected output: pass

☑ Verified

☐ Not-verified

Below is a screenshot of the verification of the passing test.

10.3. Filter

■ This tests the basic functionality of finding a contact in the system.

■ Name: Robert Rico

■ Name: Austin Lee

Date: 5/11/2017

File Path: TestingAssets/Contacts/filter.py

Test input: You will need to run the program as follows:

> py filter.py 1980 1050

Expected output: pass

☑ Verified

☐ Not-verified

Page 40: System Test Manual - California State University, Sacramentoathena.ecs.csus.edu/~buckley/CSc191/MissionControl... · System Test Manual - 10 - Verification output of the Cat Medical

Mission Control

System Test Manual

- 39 -

Below is a screenshot of the verification of the passing test.