eric-boyd-test

advertisement
Test 3.1.5.1 AWA NSRD Display
Description:
The AWA will demonstrate its ability to correctly display the current sensor measurements from all
sensors on the network. The main purpose of this feature is to provide a real-time status from each
sensor to an authorized user on the AWA. Therefore, the information presented should include: the
sensor’s identification number, the sensor’s nomenclature/address, and the sensor’s current
measurement.
Test Initialization:
Hardware and Software Configuration:
1. The AWA software package is deployed under Windows Internet Information Services (IIS).
2. The SWDS centralized database is deployed on Microsoft SQL Server 2005/2008.
Preset Hardware Conditions:
1. Hardware is on and running.
2. No actual networking of hardware components is necessary. The necessary components are
software, and can be demonstrated on a single machine.
Preset Software Conditions:
1. The AWA is running in “test-mode”.
2. The SWDS centralized database is running and is populated with data. This data can be coming
from actual sensors, or generated from the AWA itself running in test-mode.
3. A test-user is configured in the root Web.config file of the AWA software package.
Test Procedure:
1.
2.
3.
4.
5.
Open a web browser.
Navigate to the URL of the locally running AWA.
Login using the proper credentials (stored in the root Web.config).
Use the navigation menu to navigate to “Status”.
The sensor data is presented with randomly-filled measurements, displaying the proper
identification number, and the nomenclature/address of the respective sensor.
6. Verify the data is updated automatically on an interval of every ten seconds.
Expected Results:
Because the sensor measurement data is being generated randomly, the display should only serve to
correctly display the sensor’s identifying information, and their respective measurements.
Test 3.1.5.2 AWA NSRD Configuration
Description:
The AWA will demonstrate its ability to allow an authorized user of the AWA to remotely configure any
one of the sensors on the (simulated) network. The following data is configurable for any sensor on the
network: an identification number, nomenclature/address, longitude/latitude, Offset, Threshold,
Increment, and IP address.
Test Initialization:
Hardware and Software Configuration:
1. The AWA software package is deployed under Windows Internet Information Services (IIS).
2. The SWDS centralized database is deployed on Microsoft SQL Server 2005/2008.
Preset Hardware Conditions:
1. Hardware is on and running.
2. No actual networking of hardware components is necessary. The necessary components are
software, and can be demonstrated on a single machine.
Preset Software Conditions:
1. The AWA is running in “test-mode”.
2. The SWDS centralized database is running and is populated with data. This data can be coming
from actual sensors, or generated from the AWA itself running in test-mode.
3. A test-user is configured in the root Web.config file of the AWA software package.
Test Procedure:
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
Open a web browser.
Navigate to the URL of the locally running AWA.
Login using the proper credentials (stored in the root Web.config).
Use the navigation menu to navigate to “Configuration”.
A table displaying each sensor and its corresponding configuration: an identification number,
nomenclature/address, latitude/longitude, Offset, Threshold, Increment, and IP address.
Click on anyone of the rows corresponding to an individual sensor.
On the new page that loads, edit any combination of the sensor configuration.
Save changes.
Return home by choosing “Home” on the navigation menu.
Re-navigate to “Configuration” and verify that the changes to the sensor’s configuration in Step
6 have persisted.
Expected Results:
Once changes have been saved for the sensor’s configuration, those changes are reflected in the SWDS
centralized database. To verify these changes have been saved in the database, the tester should
navigate to the sensor configuration page and verify that the changes have persisted.
Test 3.1.5.3 AWA Historical Data Querying
Description:
The AWA will demonstrate that it provides a sufficient (graphical) interface for querying the SWDS
centralized database for historical sensor measurement data. Queries allow any combination of sensor’s
to be queried over any specified period of time (within the lifetime of the sensor’s installation). The
output of the historical data should be in table format; an alternate graph-format should also be
available to the authorized AWA user. The graph is a simple plot-style graph that shows the history of
the sensor over the queried time-period.
Test Initialization:
Hardware and Software Configuration:
3. The AWA software package is deployed under Windows Internet Information Services (IIS).
4. The SWDS centralized database is deployed on Microsoft SQL Server 2005/2008.
Preset Hardware Conditions:
3. Hardware is on and running.
4. No actual networking of hardware components is necessary. The necessary components are
software, and can be demonstrated on a single machine.
Preset Software Conditions:
4. The AWA is running in “test-mode”.
5. The SWDS centralized database is running and is populated with data. This data can be coming
from actual sensors, or generated from the AWA itself running in test-mode.
6. A test-user is configured in the root Web.config file of the AWA software package.
Test Procedure:
7.
8.
9.
10.
11.
12.
13.
14.
15.
Open a web browser.
Navigate to the URL of the locally running AWA.
Login using the proper credentials (stored in the root Web.config).
Use the navigation menu to navigate to “Queries”.
Choose any combination of sensors, a date/time range, and which sensor configuration data to
be included in the table output.
Click “Run Query”.
Once the table output of the query is displayed, verify the correct information is being
presented.
Click “Show Graph”.
Verify that the graph displayed matched the table output.
Expected Results:
When a historical query is executed against the SWDS centralized database, the correct SQL query is
generated at run-time, and properly returns the set of requested data. The output of any query in “testmode” will be based on randomly generated data. The database can be explicitly queried through
Microsoft SQL Server Management Studio to verify the correct results. This test demonstrates that
historical data is able to be pulled from the SWDS centralized database, configured, and displayed both
in table and graph format.
Download