Running Head: LAB III – PROTOTYPE TEST CASE AND PROCEDURE 1

advertisement
Running Head: LAB III – PROTOTYPE TEST CASE AND PROCEDURE
Lab III – Prototype Test Case and Procedure
Orange Team
Professor Janet Brunelle
April 18, 2011
Version One
LAB III – PROTOTYPE TEST CASE AND PROCEDURE
Table of Contents
4. TEST RESPONSIBILITIES ........................................................................................................3
5. TEST PROCEDURES .................................................................................................................3
5.1. Test Case Name and Identifier ..............................................................................................4
6. TRACEABILITY TO REQUIREMENTS ................................................................................32
List of Tables
Table 1. Test Responsibilities ..........................................................................................................3
Table 2. GAS Prototype Traceability Matrix .................................................................................33
LAB III – PROTOTYPE TEST CASE AND PROCEDURE
4.
TEST RESPONSIBILITIES
Each member of the GAS team will be responsible for different aspects of the prototype
demonstration. John Knox and Rebecca Cooper will both present the introduction of the GAS
prototype. Ryan School will be the database tester. Yousef Aloumi will test the GAS prototype
website while Marrissa Webster will test the end-user profile and John Knox will test the
business profile. The animated GIF will be tested by Rebecca Cooper who will also test the test
harness notifications. Ben Cawrse will test both the distance algorithm and the communication
between the database and the end-user and business profiles. Alvin Fagan will test the
authentication and access control. Marrissa Webster will also be recording the results of the tests.
Table 1 outlines the responsibilities of each of the team members.
Team Member
Responsibilities
Rebecca Cooper
Introduction, Animated GIF, Test Harness
Notifications
John Knox
Introduction, Business Profile
Yousef Aloumi
GAS Website
Marrissa Webster
End-User Profile, Recorder
Ryan School
Database
Ben Cawrse
Distance Algorithm, Database communication
Alvin Fagan
Authentication and Access Control
Table 1. Test Responsibilities
5.
TEST PROCEDURES
The test procedures have been designed to ensure that the functionality of the GAS
prototype is attained. These test procedures test the GAS website, end-user profile, business
profile, database, animated GIF, geographical user interface, notifications, distance algorithm,
LAB III – PROTOTYPE TEST CASE AND PROCEDURE
database communication, and authentication and access control. Each test case matches with a
requirement outlined in GAS Prototype Product Specification.
5.1.
Test Case Number and Identifier
Each test procedure is represented in a format that contains the description, preconditions,
and requirements to describe each test procedure. Each test procedure also contains columns for
actual activity, expected results, a space to indicate whether the test passed or failed, and a space
to leave any comments for each step of the procedure.
Test Case
1.1. Website format compatibility on multiple Internet browsers.
Description
Website format and resolution must match popular Internet browsers.
Preconditions
●
●
●
Website is online.
Firefox 3.4 or newer installed on PC.
Internet Explorer 6 or newer installed on PC.
Requirements 3.1.1
Step
(Pass/Fail)
Description
Expected Result
1
Load website using Firefox
browser.
Website loads up on Firefox.
2
Verify website is functional and
that it displays the required
resolution correctly.
The desired resolution for the
website is correctly displayed
on Firefox.
3
Load website using Internet
Explorer.
Website loads on Internet
Explorer.
4
Verify website is functional and
that it displays the required
resolution correctly.
The desired resolution for the
website is correctly displayed
on Internet Explorer.
5
Verify and compare the
resolution and formatting of the
website in both browsers.
Both browsers display the
exact same format and
resolution.
Comments
LAB III – PROTOTYPE TEST CASE AND PROCEDURE
Test Case
1.2. Website contents display functionality.
Description
Verify all contents of the website are displayed properly.
Preconditions
●
●
●
Website is online.
Firefox 3.4 or newer installed on PC.
Internet Explorer 6 or newer installed on PC.
Requirements 3.1.1
Step
(Pass/Fail)
Description
Expected Result
1
Load website using either Firefox
or Internet Explorer.
Website loads properly.
2
Go through all pages in the website.
All pages display properly
3
Verify all contents are displayed in
each page.
All contents of the website
are displayed.
Test Case
1.3. Website Links validity
Description
Verify all website links are working and not broken.
Preconditions
●
●
●
Comments
Website is online.
Firefox 3.4 or newer installed on PC.
Internet Explorer 6 or newer installed on PC.
Requirements 3.1.1
Step
(Pass/Fail)
Description
Expected Result
1
Load website using either Firefox or
Internet Explorer.
Website loads properly.
2
Visit all pages in the website.
All pages display
properly
3
Click on every link on each page.
4
Verify all links on each page redirects
to the correct page.
All links on every page
are working.
Comments
LAB III – PROTOTYPE TEST CASE AND PROCEDURE
Test Case
2.1. Initial Registration
Description
During the initial registration, verify that the end-user profile displays after
clicking the submit button in the registration page.
Preconditions
●
●
Website is online.
Access to the website
Requirements 3.1.1.1
Step
(Pass/Fail)
Description
Expected Result
1
Go to GAS
website via web
browser
GAS website appears.
2
Fill out initial
registration form
Every field in registration form has data
entered into it.
3
Click submit
Displays the end-user profile form
4
Verify the enduser profile
The end-user profile should display all the
businesses in database with a checkbox near
each name. There shouldn’t be any
checkboxes checked.
[This space intentionally left blank]
Comments
LAB III – PROTOTYPE TEST CASE AND PROCEDURE
Test Case
2.2. Correct Points of Interest Displayed
Description
Verify that the correct points of interest are being displayed on the end-user
profile form.
Preconditions
●
●
●
●
Website is online
Database is online
Access to database and website
An end-user logged into the website
Requirements 3.1.1.1
Step
(Pass/Fail)
Description
Expected Result
1
View the end-user profile
All the businesses in the
database should be displayed
with checkboxes
2
Query all the businesses in the
database
All businesses should be
displayed in list format
3
Cross-reference the data in the
database with the businesses in
the end-user profile
They should match
[This space intentionally left blank]
Comments
LAB III – PROTOTYPE TEST CASE AND PROCEDURE
Test Case
2.3. Most Updated End-User Profile Displayed
Description
Verify that the profile for the particular end-user is displaying the most updated
profile.
Preconditions
●
●
●
●
Website is online
Database is online
Access to database and website
An end-user logged into the website
Requirements 3.1.1.1
Step
(Pass/Fail)
Description
Expected Result
1
Make a change to the
profile
Should display the changes
2
Click Submit
Displays a confirmation that the
changes were applied
3
Log off
Should redirect to the login page
4
Log back in
Should redirect to the end-user profile
5
Verify that the change
was made
The change made in Step 1 should be
shown
[This space intentionally left blank]
Comments
LAB III – PROTOTYPE TEST CASE AND PROCEDURE
Test Case
3.1. Accurate page link
Description
Check that expected page appears after submit button is pressed
●
●
●
Preconditions
Database Online
Website Online
Access to Database and Website
Requirements 3.1.1.2
Step
(Pass/Fail)
Description
Expected Result
1
Go to GAS website via
web browser
GAS website appears.
2
Fill out initial registration
form
Every field in registration form has
data entered into it.
3
Make sure all fields are
filled out correctly
No fields have an asterisk next to
them saying not enough characters or
incorrect format
4
Click submit
Re-directs person/business logged in
to thank you page
5
Verify that page appears
saying “Thank you for
registering…”
Thank you page appears saying GAS
representative will get back to them
in 3 to 5 business days
[This space intentionally left blank]
Comments
LAB III – PROTOTYPE TEST CASE AND PROCEDURE
Test Case
3.2 Verify Address on Form
Description
Check that address is correct on establishment form within business profile.
●
●
●
●
Preconditions
Database Online
Website Online
Access to Database and Website
Authentication and Access Control set up correctly
Requirements 3.1.1.2
Step
(Pass/Fail)
Description
Expected Result
1
Login into GAS website as a
business
GAS site for businesses appears
2
Click on add establishments
link
Establishment form appears with
the respective fields necessary
for a business
3
Fill out form
Refer to test case 3.0
4
Click submit
Re-directs business back to add
more establishments page once
information is verified
5
Verify city, state, zip code,
and street address for
completeness and correct
number of characters
Every field within the form will
have the right amount of
characters, numbers, and data
necessary for submition
[This space intentionally left blank]
Comments
LAB III – PROTOTYPE TEST CASE AND PROCEDURE
Test Case
3.3 Verify E-mail on Form
Description
Check that e-mail address contains @ sign and valid domain
●
●
●
●
Preconditions
Requirements
Step
(Pass/Fail)
Database Online
Website Online
Access to Database and Website
Authentication and Access Control setup correctly
3.1.1.2
Description
Expected Result
1
Go to GAS website
via web browser
GAS website appears.
2
Fill out initial
registration form
All fields are correct
and without error
(refer to test case 3.0)
3
Click submit
4
Verify e-mail address
contains @ sign and
valid domain
Form goes through
with correct e-mail
address
E-mail address
contains @ sign and a
valid domain and the
user is sent to the
thank you page
[This space intentionally left blank]
Comments
LAB III – PROTOTYPE TEST CASE AND PROCEDURE
Test Case
3.4 Verify Phone Number on form
Description
Check that phone number is the correct number of digits and contains the area
code
●
●
●
●
Preconditions
Database Online
Website Online
Access to Database and Website
Authentication and Access Control setup correctly
Requirements 3.1.1.2
Step
(Pass/Fail)
Description
1
Go to GAS website via web
browser
2
Fill out initial registration
form
3
Click submit
4
Verify phone number contains
area code and correct number
of digits
Expected Result
GAS website appears.
All fields are correct and without
error (refer to test case 3.0)
Form goes through with correct
phone number
Phone number has 10 numbers, 7
plus the area code, and does not
contain characters
[This space intentionally left blank]
Comments
LAB III – PROTOTYPE TEST CASE AND PROCEDURE
Test Case
3.5 Terms of Agreement Accepted
Description
Check to make sure that the Terms of Agreement are agreed to via the checkbox
labeled “I Agree”
●
●
●
●
Preconditions
Database Online
Website Online
Access to Database and Website
Authentication and Access Control setup correctly
Requirements 3.1.1.2
Step
(Pass/Fail)
Description
Expected Result
1
Go to GAS website via web
browser
GAS website appears.
2
Fill out initial registration
form
All fields are correct and without
error (refer to test case 3.0)
3
Click submit
Thank your for registering page
appears
4
Verify that “I Agree”
checkbox is checked for the
Terms of Agreement
Form goes through correctly after
ensuring the user has agreed to the
Terms of Agreement
[This space intentionally left blank]
Comments
LAB III – PROTOTYPE TEST CASE AND PROCEDURE
Test Case
3.6 Establishments Added/Accurate Data Transaction
Description
Ensure that once an establishment is added to the business profile, the
information is transmitted to the database correctly
●
●
●
Preconditions
Database Online
Website Online
Access to Database and Website
Requirements 3.1.1.2
Step
(Pass/Fail)
Description
Expected Result
1
Login to GAS website as a
Business
Business Profile page of GAS
website appears.
2
Click the add establishments
button
Establishments form appears with
respective fields for the
establishment information
3
Fill out form completely and
accurately
Form has no errors and is correct
(Refer to Test Case 3.0)
4
Click Submit
Form goes through correctly and
back to add establishments page
5
Verify that information is
transmitted from business
establishment form to
database
Database contains the information
filled out in the form on the add
establishments page of the business
profile site
[This space intentionally left blank]
Comments
LAB III – PROTOTYPE TEST CASE AND PROCEDURE
Test Case
3.7 Gas Station Business Type Page
Description
Show that when gas station is chosen as business type, that particular page is
displayed
●
●
●
Preconditions
Database Online
Website Online
Access to Database and Website
Requirements 3.1.1.2
Step
(Pass/Fail)
Description
Expected Result
1
Login to GAS website as a
Business
Business Profile page of
GAS website appears.
2
Click the add establishments
button
Establishments form appears
with respective fields for the
establishment information
3
Fill out form completely and
accurately
Form has no errors and is
correct (Refer to Test Case
3.0)
4
Click Submit
5
Ensure that since gas station is
chosen as business type, that once
submit is clicked it goes to the
next proper page
Form goes through to
database
Goes to new page that
contains specific information
about the gas station business
type
[This space intentionally left blank]
Comments
LAB III – PROTOTYPE TEST CASE AND PROCEDURE
Test Case
3.8 Hotel Business Type Page
Description
Show that when hotel is chosen as business type, that particular page is
displayed
●
●
●
Preconditions
Database Online
Website Online
Access to Database and Website
Requirements 3.1.1.2
Step
(Pass/Fail)
Description
Expected Result
1
Login to GAS website as a
Business
Business Profile page of GAS
website appears.
2
Click the add establishments
button
Establishments form appears
with respective fields for the
establishment information
3
Fill out form completely and
accurately
Form has no errors and is
correct (Refer to Test Case
3.0)
4
Click Submit
5
Ensure that since hotel is chosen
as business type, that once submit
is clicked it goes to the next
proper page
Form goes through to
database
Goes to new page that
contains specific information
about the hotel business type
[This space intentionally left blank]
Comments
LAB III – PROTOTYPE TEST CASE AND PROCEDURE
Test Case
3.9 Restaurant Business Type Page
Description
Show that when restaurant is chosen as business type, that particular page is
displayed
●
●
●
Preconditions
Database Online
Website Online
Access to Database and Website
Requirements 3.1.1.2
Step
(Pass/Fail)
Description
Expected Result
1
Login to GAS website as a
Business
Business Profile page of
GAS website appears.
2
Click the add establishments
button
Establishments form appears
with respective fields for the
establishment information
3
Fill out form completely and
accurately
Form has no errors and is
correct (Refer to Test Case
3.1)
4
Click Submit
5
Ensure that since restaurant is
chosen as business type, that once
submit is clicked it goes to the
next proper page
Form goes through to
database
Goes to new page that
contains specific information
about the restaurant business
type
[This space intentionally left blank]
Comments
LAB III – PROTOTYPE TEST CASE AND PROCEDURE
Test Case
3.10 Attraction Business Type Page
Description
Show that when attraction is chosen as business type, that particular page is
displayed
●
●
●
Preconditions
Database Online
Website Online
Access to Database and Website
Requirements 3.1.1.2
Step
(Pass/Fail)
Description
Expected Result
1
Login to GAS website as a
Business
Business Profile page of
GAS website appears.
2
Click the add establishments
button
Establishments form appears
with respective fields for the
establishment information
3
Fill out form completely and
accurately
Form has no errors and is
correct (Refer to Test Case
3.0)
4
Click Submit
5
Ensure that since attraction is
chosen as business type, that once
submit is clicked it goes to the
next proper page
Form goes through to
database
Goes to new page that
contains specific information
about the attraction business
type
[This space intentionally left blank]
Comments
LAB III – PROTOTYPE TEST CASE AND PROCEDURE
Test Case
4.1. Database Constraints Evaluation
Description
Verify Primary Key Enforcement.
Preconditions
●
●
●
Database exists.
All tables in schema must exist.
Must be logged in to database.
Requirements 3.1.2
Step
(Pass/Fail)
Description
Expected Result
1
Insert data into USER table with
primary key value “1111.”
Data is successful inserted into
USER table.
2
Insert new data into USER table
with primary key value “1111.”
Database returns error
referencing constraint
enforcement.
3
Repeat steps 1 and 2 inserting
into each remaining table.
Repeated results for steps 1
and 2 for each table
[This space intentionally left blank]
Comments
LAB III – PROTOTYPE TEST CASE AND PROCEDURE
Test Case
4.2. Database Constraints Evaluation
Description
Verify Foreign Key Enforcement.
Preconditions
●
●
●
●
●
Requirements
3.1.2
Step
(Pass/Fail)
Database exists.
USERS table contains value “1111” in pref_id field.
BUSINESS table contains value “2222” in bus_id field.
BUSINESS table contains value “3333” in estb_id field.
ESTABLISHMENTS table contains “4444” in the estab_id field.
Description
Expected Result
1
Insert new record into
PREFERENCE table with userid
field value “1112” and
business_id field value “2221.”
Database returns error
referencing foreign key
constraints.
2
Insert new record into
PREFERENCE table with userid
field value “1111” and
business_id field value “2222.”
Database inserted into
PREFERENCE table properly
verifying constraint
enforcement.
3
Insert new record into
ESTABLISHMENTS table with
estabusid field value “3332.”
Database returns error
referencing foreign key
constraints.
4
Insert new record into
ESTABLISHMENTS table with
estabusid field value “3333.”
Database inserted into
ESTABLISHMENTS table
properly verifying constraint
enforcement.
5.
Insert new record into ITEMS
table with estitem_id field value
“4443.”
Database returns error
referencing foreign key
constraints.
6.
Insert new record into ITEMS
table with estitem_id field value
“4444.”
Database inserted into ITEMS
table properly verifying
constraint enforcement.
Comments
LAB III – PROTOTYPE TEST CASE AND PROCEDURE
Test Case
4.3. Data Integrity
Description
Verify Proper Data Storage and Querying.
Preconditions
●
●
●
●
Requirements
3.1.2
Step
(Pass/Fail)
Database exists.
All tables in Schema exist.
Each table contains test data.
Tester must be logged in to database server, through UNIX environment
or utilizing phpMyAdmin.
Description
Expected Result
1
Run “SELECT *
All records retrieved and displayed
table_name.” query for all with accurate information.
tables.
2
Insert new records into
each table
3
Run “SELECT *
All records retrieved and displayed
table_name.” query for all with accurate information including
tables.
new record.
Database runs insert query returning
0 errors for each table.
[This space intentionally left blank]
Comments
LAB III – PROTOTYPE TEST CASE AND PROCEDURE
Test Case
5.1 Animated GIF Display
Description
Verify that the animated GIF will display on the "About" page of the GAS website.
Preconditions The Gas website and the "About" page loads.
Requirements 3.1.3
Step
(Pass/Fail)
Description
Expected Results
1
User navigates to the
"About" page
The animated GIF loads in a 500 x 500
pixel display
2
The animated GIF loads
The animated GIF displays the enduser's path as they travel
3
The animated GIF loads
The animated GIF displays a map facing
due north
4
The animated GIF loads
The animated GIF displays a car and
arrow pointing in the direction of travel
3
The end-user's location
become within five miles
of a restaurant
A red "!" displays at the restaurants
location along with an information
bubble with the restaurant's information
4
The end-user's location
becomes within five miles
of a gas station
A green "!" appears at the gas station's
location along with an information
bubble with the gas stations information
5
The end-user's location
becomes within five miles
of an attraction
An orange "!" appears at the attractions
location along with an information
bubble with the attractions information
6
The end-user's location
becomes within five miles
of a lodging area
A purple "!" appears at the lodging area's
location along with an information
bubble with the lodging area's
information
7
The animated GIF runs
through one end-user's
path
The animate GIF automatically displays
the next path
Comments
LAB III – PROTOTYPE TEST CASE AND PROCEDURE
Test Case
6.1 GUI Display
Description
Verify that the test harness GUI will display properly
Preconditions The end-user is logged into the GAS website.
Requirements 3.1.4.1
Step
(Pass/Fail)
1
Description
The test harness
GUI loads
Expected Result
A map of 500 x 500 pixels displays a car
icon in the center of the map.
[This space intentionally left blank]
Comments
LAB III – PROTOTYPE TEST CASE AND PROCEDURE
Test Case
7.1 GUI Interaction
Description
Verify that the end-user can interact with the map GUI and receive the proper
outputs
Preconditions The end-user is logged into the GAS website.
The GUI map loads
Requirements 3.1.4.3
Step
(Pass/Fail)
Description
Expected Result
1
The user clicks on any
point on the map
A new car marker appears on the clicked
point and the map centers on that
location
2
The user clicks on any
point on the map
The latitude and longitude coordinates
are passed through the php script which
returns a list of participating businesses
within a five mile radius
3
The php script returns
the list of business
with in a five mile
radius
The JavaScript code parses the
information and creates markers for the
businesses as well as information
bubbles that have the specific businesses
information
4
The function creates a
new restaurant
marker
The GUI will display a red "!" for a
restaurant at that businesses lat/long
coordinates
5
The function creates a The GUI will display a green "!" for a
new gas station marker gas station at that businesses lat/long
coordinates
6
The function creates a
new lodging area
marker
The GUI will display a purple "!" for a
lodging area at that businesses lat/long
coordinates
7
The function creates a
new attraction marker
The GUI will display a orange "!" for an
attraction at that businesses lat/long
coordinates
8
The end-user clicks on
a new point on the
map
The map wipes away all previous
markers and runs through steps 2 and 3
again
Comments
LAB III – PROTOTYPE TEST CASE AND PROCEDURE
Test Case
8.1. Distance Algorithm
Description
Verify the Distance Algorithm is functioning correctly.
●
●
●
●
Preconditions
Database Online
Establishments Exist Correctly in the Database
Website Online
Access to Database and Website
Requirements 3.1.4.2
Step
(Pass/Fail)
Description
Expected Result
1
Submit latitude and longitude
values representing current
location to the PHP file which
utilizes the algorithm.
JSON including business
information for businesses within
5.0 miles of given latitude and
longitude returned.
2
Verify businesses returned are
within 5.0 miles of passed
latitude and longitude.
All businesses returned should
have latitude, longitude values in
the database within 5.0 miles of
the given latitude and longitude.
[This space intentionally left blank]
Comments
LAB III – PROTOTYPE TEST CASE AND PROCEDURE
Test Case
9.1. Valid End User Data Transactions
Description
Verify data inserted into the database for End Users through the website is
valid.
●
●
●
Preconditions
Database Online
Website Online
Access to Database and Website
Requirements 3.1.1.1.1
Step
(Pass/Fail)
Description
Expected Result
1
Insert all profile fields
on the user registration
page and submit.
New user created in Database.
2
Verify new user exists
in Database on USERS
table.
Row in USERS table should be
populated with the new User
information.
3
Access the user profile
update page for the
newly created user.
User profile update page should be
populated with information regarding
the newly created user.
4
Modify the profile fields Information in the USERS and
on the User update page PREFERENCES tables in the database
and submit.
should reflect the changes to the
modified user profile.
5
Verify user information
has been altered/added
within the database.
The values in the USERS and
PREFERENCES tables in the database
should reflect the alterations to the user
profile.
[This space intentionally left blank]
Comments
LAB III – PROTOTYPE TEST CASE AND PROCEDURE
Test Case
9.2. Valid Business User Data Transactions
Description
Verify data inserted into the database for Business Users through the website is
valid.
●
●
●
Preconditions
Database Online
Website Online
Access to Database and Website
Requirements 3.1.1.2
Step
(Pass/Fail)
Description
Expected Result
1
Insert all profile fields
on the business
registration page and
submit.
New business user created in Database.
2
Verify new business
Row in BUSINESSES table should be
user exists in Database populated with the new business user
on BUSINESSES table. information.
3
Access the business
profile update page for
the newly created user.
Business profile update page should be
populated with information regarding
the newly created user.
4
Modify the profile
fields on the business
update page and
submit.
Information in the BUSINESSES,
ESTABLISHMENTS and ITEMS
tables in the database should reflect the
changes to the modified business
profile.
5
Verify business profile
information has been
altered/added within
the database.
The values in the BUSINESSES,
ESTABLISHMENTS and ITEMS
tables in the database should reflect the
alterations to the business profile.
[This space intentionally left blank]
Comments
LAB III – PROTOTYPE TEST CASE AND PROCEDURE
Test Case
10.1. Traveler Authentication
Description
Verify that only a proper user name and password combination allows a visitor
to gain Traveler Access Level.
Preconditions In the role of a visitor:
● Is not logged in.
● Has a registered traveler account.
● Is using the Traveler Login Page.
● Is using Firefox or Internet Explorer.
● Has JavaScript enabled in his or her web browser.
● Has an internet connection.
Requirements 3.1.1.1
Step
(Pass/Fail)
Description
Expected Result
1
Enter incorrect log in
information.
Traveler Access Level not granted.
2
Enter incorrect log in Traveler Login Page cannot be accessed
information 3 times in from same IP address for 5 minutes.
a row within 1 minute.
3
Attempt to submit log Traveler Access Level not granted and
in information without visitor gets an error message that
cookies enabled.
cookies are disabled in his or her web
browser.
4
Attempt to log in with
an unsupported web
browser.
Visitor gets an error message that his or
her web browser is unsupported and
therefore the system is not required or
guaranteed to work properly beyond this
point.
5
Enter correct log in
information.
Visitor is granted Traveler Access Level
with the associated account.
[This space intentionally left blank]
Comments
LAB III – PROTOTYPE TEST CASE AND PROCEDURE
Test Case
10.2. Business User Authentication
Description
Verify that only a proper user name and password combination allows a visitor
to gain Business User Access Level.
Preconditions In the role of a visitor:
● Is not logged in.
● Has a registered business user account.
● Is using the Business Login Page.
● Is using Firefox or Internet Explorer.
● Has JavaScript enabled in his or her web browser.
● Has an internet connection.
Requirements 3.1.1.2
Step
(Pass/Fail)
Description
Expected Result
1
Enter incorrect log in
information.
Business User Access Level not granted.
2
Enter incorrect log in Business User Login Page cannot be
information 3 times in accessed from same IP address for 5
a row within 1 minute. minutes.
3
Attempt to submit log Business User Access Level not granted
in information without and visitor gets an error message that
cookies enabled.
cookies are disabled in his or her web
browser.
4
Attempt to log in with
an unsupported web
browser.
Visitor gets an error message that his or
her web browser is unsupported and
therefore the system is not required or
guaranteed to work properly beyond this
point.
5
Enter correct log in
information.
Visitor is granted Business User Access
Level with the associated account.
[This space intentionally left blank]
Comments
LAB III – PROTOTYPE TEST CASE AND PROCEDURE
Test Case
10.3. Establishment User Authentication
Description
Verify that only a proper user name and password combination allows a visitor
to gain Establishment User Access Level.
Preconditions In the role of a visitor:
● Is not logged in.
● Has a registered establishment user account.
● Is using the Establishment Login Page.
● Is using Firefox or Internet Explorer.
● Has JavaScript enabled in his or her web browser.
● Has an Internet connection.
Requirements 3.1.1.2
Step
(Pass/Fail)
Description
Expected Result
1
Enter incorrect log in
information.
Establishment User Access Level not
granted.
2
Enter incorrect log in Establishment User Login Page cannot
information 3 times in be accessed from same IP address for 5
a row within 1
minutes.
minute.
3
Attempt to submit log
in information
without cookies
enabled.
4
Attempt to log in with Visitor gets an error message that his or
an unsupported web
her web browser is unsupported and
browser.
therefore the system is not required or
guaranteed to work properly beyond this
point.
5
Enter correct log in
information.
Establishment User Access Level not
granted and visitor gets an error message
that cookies are disabled in his or her
web browser.
Visitor is granted Establishment User
Access Level with the associated
account.
[This space intentionally left blank]
Comments
LAB III – PROTOTYPE TEST CASE AND PROCEDURE
Test Case
10.4. Access Control
Description
Only visitors with the appropriate access level should be able to access
restricted pages.
Preconditions In the role of a visitor:
● Is not logged in.
● Has a registered account.
● Is using the Establishment Login Page.
● Is using Firefox or Internet Explorer.
● Has JavaScript enabled in his or her web browser.
● Has cookies enabled in his or her web browser.
● Has an internet connection.
Requirements 3.1.1.1, 3.1.1.2
Step
(Pass/Fail)
Description
Expected Result
1
Go to all pages that require
Traveler Access Level.
Visitor is shown an error
message stating access is denied.
2
Go to all pages that require
Business User Access Level.
Visitor is shown an error
message stating access is denied.
3
Go to all pages that require
Establishment User Access
Level.
Visitor is shown an error
message stating access is denied.
4
Log in with a Traveler
account.
Visitor is granted Traveler
Access Level.
5
Repeat steps one through
three.
Visitor is granted access to pages
in step one. The same results are
expected for steps two and three.
6
Log out of Traveler account
then log in with a Business
User account.
Visitor no longer has Traveler
Access Level and is granted
Business User Access Level.
7
Repeat steps one through
three.
Visitor is granted access to pages
in step two. The same results are
expected for steps one and three.
8
Log out of Business User
account then log in with an
Establishment User account.
Visitor no longer has Business
User Access Level and is granted
Establishment User Access
Level.
Comments
LAB III – PROTOTYPE TEST CASE AND PROCEDURE
Step
(Pass/Fail)
9
6.
Description
Repeat steps one through
three.
Expected Result
Comments
Visitor is granted access to pages
in step three. The same results
are expected for steps one and
two.
TRACEABILITY TO REQUIREMENTS
The traceability matrix shows the relationship between a prototype component and the
specific requirements. Each test case has been designed to validate that one or more functional
requirements have been met. The traceability matrix shown in Table 2 illustrates the
relationships between the GAS test plan and the specific functional requirements of the
prototype. Requirement identifiers are shown in the row headers, and test case identifiers are
displayed in the column headers. An “X” will appear in any row and column intersection where
the test case for that column matches with the validated functional requirement in that row.
[This space intentionally left blank]
Running Head: LAB III – PROTOTYPE TEST CASE AND PROCEDURE
Requirements
Name
Req ID
3.1.1.1
3.1.1.2
GAS
3.1.1.3
Website
3.1.1.4
3.1.1.5
3.1.1.1.1
3.1.1.1.2
EndUser
3.1.1.1.3
Profile
3.1.1.1.4
3.1.1.1.5
EndUser
3.1.1.1.1.1
Database
Insertion
EndUser
3.1.1.1.2.1
Database
Retrieval
3.1.1.2.1
3.1.1.2.2
3.1.1.2.3
Business
3.1.1.2.4
Profile
3.1.1.2.5
3.1.1.2.6
3.1.1.2.7
1.1
X
X
X
X
X
1.2
X
X
X
X
X
1.3
2.1
2.2
2.3
33
Test Cases
3.1
3.2
3.3.
3.4
3.5
X
X
X
X
X
X
X
3.6
3.7
3.8
X
X
X
X
X
X
X
X
X
X
X
X
X
X
[This space intentionally left blank]
LAB III – PROTOTYPE TEST CASE AND PROCEDURE
Requirements
Name
Req ID
3.1.1.1
3.1.1.2
GAS
3.1.1.3
Website
3.1.1.4
3.1.1.5
3.1.1.1.1
3.1.1.1.2
EndUser
3.1.1.1.3
Profile
3.1.1.1.4
3.1.1.1.5
EndUser
3.1.1.1.1.1
Database
Insertion
EndUser
3.1.1.1.2.1
Database
Retrieval
3.1.1.2.1
3.1.1.2.2
3.1.1.2.3
Business
3.1.1.2.4
Profile
3.1.1.2.5
3.1.1.2.6
3.1.1.2.7
3.9
3.10
4.1
4.2
34
4.3
5.1
Test Cases
6.1
7.1
8.1
9.1
9.2
10.1
10.2
10.3
X
X
X
X
X
X
X
X
[This space intentionally left blank]
LAB III – PROTOTYPE TEST CASE AND PROCEDURE
Requirements
Name
Req ID
3.1.2.1
3.1.2.2
3.1.2.3
3.1.2.4
3.1.2.5
Database
3.1.2.6
3.1.2.7
3.1.2.8
3.1.2.9
3.1.2.10
3.1.3.1
3.1.3.2
Animated
3.1.3.3
GIF
3.1.3.4
3.1.3.5
3.1.4.1
Test
Harness
3.1.4.2
3.1.4.1.1
3.1.4.1.2
Graphical 3.1.4.1.3
User
3.1.4.1.4
Interface
3.1.4.1.5
3.1.4.1.6
3.1.4.1.7
3.1.4.2.1
3.1.4.2.2
Distance
Algorithm 3.1.4.2.3
3.1.4.2.4
1.1
1.2
1.3
2.1
35
2.2
2.3
Test Cases
3.1
3.2
3.3.
3.4
3.5
3.6
3.7
3.8
LAB III – PROTOTYPE TEST CASE AND PROCEDURE
Requirements
Name
Req ID
3.1.2.1
3.1.2.2
3.1.2.3
3.1.2.4
3.1.2.5
Database
3.1.2.6
3.1.2.7
3.1.2.8
3.1.2.9
3.1.2.10
3.1.3.1
3.1.3.2
Animated
3.1.3.3
GIF
3.1.3.4
3.1.3.5
3.1.4.1
Test
Harness
3.1.4.2
3.1.4.1.1
3.1.4.1.2
Graphical 3.1.4.1.3
User
3.1.4.1.4
Interface
3.1.4.1.5
3.1.4.1.6
3.1.4.1.7
3.1.4.2.1
3.1.4.2.2
Distance
Algorithm 3.1.4.2.3
3.1.4.2.4
3.9
3.10
4.1
4.2
X
X
X
X
X
X
X
X
X
X
X
X
36
4.3
X
X
X
X
X
X
X
X
X
X
5.1
Test Cases
6.1
7.1
8.1
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
9.1
9.2
10.1
10.2
10.3
LAB III – PROTOTYPE TEST CASE AND PROCEDURE
Requirements
Name
Req ID
3.1.4.3.1
3.1.4.3.2
Notifications 3.1.4.3.3
3.1.4.3.4
3.1.4.3.5
1.1
1.2
Requirements
Name
Req ID
3.9
3.10
3.1.4.3.1
3.1.4.3.2
Notifications 3.1.4.3.3
3.1.4.3.4
3.1.4.3.5
Table 2. GAS Prototype Traceability Matrix
1.3
4.1
2.1
4.2
37
2.2
4.3
2.3
5.1
Test Cases
3.1
3.2
Test Cases
6.1
7.1
X
X
X
X
X
3.3.
3.4
3.5
3.6
3.7
3.8
8.1
9.1
9.2
10.1
10.2
10.3
Running Head: LAB III – PROTOTYPE TEST CASE AND PROCEDURE
Download