Starting from:

$30

Project 2 Wolf High Rise Rentals Black Box Test Plan

Project 2 Wolf High Rise Rentals Black Box Test Plan

Introduction
The Wolf High Rise Rentals program keeps track of clients, rental units, and leases for the Wolf High Rise building. The black box
test plan describes tests for loading rental data from a file, adding a new client, closing a rental unit, adding a new lease, and creating
a new data file. The contents of the files described are specified in the Required Files section.
To run the tests:
1. Right click on RentalDataGUI class in the Package Explorer.
2. Select Run As Java Application
All tests files are located in the test-files/ folder.
Note that while all tests end with the statement to Close GUI, you can run Tests 1-5 on the same GUI if there are no failures. If there
are failures, you can use the preconditions to identify the dependent test cases.
Test ID Description Expected Results Actual Results
Test 1:
Load
Rental
Data from
File
(Kaitlyn
Gosline)
Preconditions: None
Run RentalDataGUI
Click File/Load
Select test-files/
sample_bbt.md from file
chooser
Check Results
Close GUI
RentalDataGUI loads
Rental Unit Display shows 19 unit starting
with Hotel Suite: 1-99 and ending with
Conference Room 40-18
Client Displays shows 18 clients starting
with Amanda Smith (a12#smL) and
ending with Suranne Jones (###$$)
No Rental Units or Clients are selected so
no Leases are displayed
RentalDataGUI loads
Rental Unit Display shows 19 unit
starting with Hotel Suite: 1-99 and
ending with Conference Room 40-18
Client Displays shows 18 clients starting
with Amanda Smith (a12#smL) and
ending with Suranne Jones (###$$)
No Rental Units or Clients are selected
so no Leases are displayed
Test 2:
Add New
Client
(Kaitlyn
Gosline)
Preconditions: Test 1 has
passed
Click Add New Client
Enter “Kaitlyn Gosline” in Client
Name
Enter “kfgoslin” in Client Id
Click Add New Client
Check Results
Close GUI
RentalDataGUI loads
Client Displays now shows 19 clients
starting with Amanda Smith (a12#smL)
and ending with Kaitlyn Gosline (kfgoslin)
RentalDataGUI loads
Client Displays now shows 19 clients
starting with Amanda Smith (a12#smL)
and ending with Kaitlyn Gosline
(kfgoslin)
Test 3:
Close
Rental
Unit
(Kaitlyn
Gosline)
Preconditions: Tests 1 passed
Select Hotel Suite 1-99
Click Close Unit & Cancel
Associated Leases
Check Results
Close GUI
RentalDataGUI loads
Rental Unit Display now shows 18 unit
starting with Conference Room 2-34 and
ending with Conference Room 40-18
RentalDataGUI loads
Rental Unit Display now shows 18 unit
starting with Conference Room 2-34 and
ending with Conference Room 40-18
Test 4:
Add a new
lease
(Kaitlyn
Gosline)
Preconditions: Tests 1 passed
Select Conference Room 37-14
Select Zach Groseclose
Check Results(1)
Click Lease Start Date and
choose 2020-11-01
Enter 1 for Duration
Enter 5 for Occupants
Check Results(1)
Close GUI
RentalDataGUI loads
(1)
Now the following leases in this order
should be viewed in the client’s area
for Zach Groseclose
000011 | 2020-10-01 to 2020-10-31 |
2 | Office: 2-56
000012 | 2020-09-17 to 2020-09-23 |
15 | Conference Room: 37-14
And the following leases in this order
should be viewed in the Rental Unit
area for Conference Room 37-13
000012 | 2020-09-17 to 2020-09-23 |
15 | Zach Groseclose (azazaz)
----------------------------------
(2)
Now the following leases in this order
should be viewed in the client’s area
for Zach Groseclose
000011 | 2020-10-01 to 2020-10-31 |
2 | Office: 2-56
000012 | 2020-09-17 to 2020-09-23 |
15 | Conference Room: 37-14
000013 | 2020-11-01 to 2020-11-01 |
5 | Conference Room: 37-14
And the following leases in this order
should be viewed in the Rental Unit
RentalDataGUI loads
(1)
Client area
000011 | 2020-10-01 to 2020-10-31 |
2 | Office: 2-56
000012 | 2020-09-17 to 2020-09-23 |
15 | Conference Room: 37-14
Rental Unit area
000012 | 2020-09-17 to 2020-09-23 |
15 | Zach Groseclose (azazaz)
----------------------------------
(2)
Client area
000011 | 2020-10-01 to 2020-10-31 |
2 | Office: 2-56
000012 | 2020-09-17 to 2020-09-23 |
15 | Conference Room: 37-14
000013 | 2020-11-01 to 2020-11-01 |
5 | Conference Room: 37-14
Rental Unit area
000012 | 2020-09-17 to 2020-09-23 |
15 | Zach Groseclose (azazaz)
000013 | 2020-11-01 to 2020-11-01 |
5 | Zach Groseclose (azazaz)
Required Files
sample_bbt.md - file imported in test 1
Hotel Suite: 1-99 | 1
Conference Room: 2-34 | 25
Office: 2-56 | 27
Office: 5-10 | 75
Office: 6-24 | 65
Conference Room: 8-17 | 13
Office: 12-23 | 100
Office: 14-10 | 99
Office: 14-24 | 50
Conference Room: 25-44 | 12
Office: 26-10 | 80
Hotel Suite: 35-18 | 2
Hotel Suite: 36-10 | 1
Hotel Suite: 36-12 | 2
Hotel Suite: 37-10 | 2 Unavailable
Conference Room: 37-14 | 22
Hotel Suite: 38-14 | 1
Conference Room: 38-67 | 20
Test 5:
New
Rental
Data File
File
(Kaitlyn
Gosline)
Preconditions: Test 1 passed
Click File/New
Check Results
Click No (Don’t save)
Check Results
Close GUI
RentalDataGUI loads
Prompt pops up to prompt save
Rental Units, Clients and both Lease
displays should be empty
RentalDataGUI loads
Prompt pops up to prompt save
Rental Units, Clients and both Lease
displays should be empty
Conference Room: 40-18 | 20
#Amanda Smith (a12#smL)
 000004 | 2020-05-30 to 2020-06-03 | 4 | Conference Room: 38-67
#Sandy Shelton Biggs (hb2$32)
#James Tetterton (jc1012)
 000009 | 2020-10-01 to 2020-12-31 | 10 | Office: 2-56
#Melody Griesen (gri$$0#)
#Ammar Abbas (1213aaaabb)
#Jason Hurst (soni@son)
#Matthew Zahn (amat456)
#Shreeya S Dhakal (ssd#SSssd)
#Zach Groseclose (azazaz)
 000011 | 2020-10-01 to 2020-10-31 | 2 | Office: 2-56
 000012 | 2020-09-17 to 2020-09-23 | 15 | Conference Room: 37-14
#Jo Perry (DEout#)
#Sarah Heckman ($456$ssh)
#Maddy Mae (cats1)
 000000 | 2020-03-15 to 2020-04-19 | 1 | Hotel Suite: 36-10
 000001 | 2020-04-01 to 2020-05-31 | 37 | Office: 6-24
 000008 | 2020-10-01 to 2020-11-30 | 5 | Office: 2-56
#Marge Simpson (comik##)
#Walter White (reallyBad)
 000002 | 2020-03-01 to 2020-10-31 | 23 | Office: 6-24
 000003 | 2020-03-25 to 2020-03-30 | 10 | Conference Room: 38-67
 000005 | 2020-04-19 to 2020-05-10 | 2 | Hotel Suite: 35-18
 000006 | 2020-06-28 to 2020-07-05 | 2 | Hotel Suite: 35-18
 000007 | 2020-11-01 to 2021-06-30 | 10 | Office: 2-56
#Olivia Colman (123crown)
#Joe Pesci (iRish)
#Adam Driver (g1rlz)
#Suranne Jones (###$$) 
Document Revision History
Date Author Change Description
3/27/2020 Kaitlyn Gosline ● Added 5 Black Box Test Cases
4/18/2020 Kaitlyn Gosline Did tests 1-5, 4 failed
4/18/2020 Sanjana Cheerla Went back, fixed code, re-ran test 4, passes now. ALL BBT tests pass.

More products