Test Case Grid Manager

for the

AWIPS

Contract

DG133W-05-CQ-1067

Prepared for:

U.S. Department of Commerce

NOAA/NWS Acquisition Management Division

SSMC2, Room 11220

1325 East-West Highway

Silver Spring, MD 20910

Prepared by:

Raytheon Company

STC Office

6825 Pine Street

Omaha, NE 68106

Submitted By:

\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
\_\_\_\_\_\_\_\_\_\_\_

Test Engineer Date

Approved By:

\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
\_\_\_\_\_\_\_\_\_\_

Program Manager Date

\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
\_\_\_\_\_\_\_\_\_\_

Mission Assurance Quality Date

Revision History

  -------------- ---------- --------------- -------------------------------------
  **Revision**   **Date**   **Affected      **Explanation of Change**
                            Pages**         

  1.0            27 June    ALL             Initial Draft
                 2008                       

                                            

                                            
  -------------- ---------- --------------- -------------------------------------

Table of Contents

[1.0 Scope 4](#scope)

[2.0 APPLICABLE DOCUMENTS 5](#applicable-documents)

[2.1 Source Documents 5](#source-documents)

[2.2 Reference Documents 5](#reference-documents)

[3.0 Test Case description 6](#test-case-description)

[3.1 Assumptions, Constraints and Preconditions
6](#assumptions-constraints-and-preconditions)

[3.2 Recommended Hardware 6](#recommended-hardware)

[3.3 Test Inputs 6](#test-inputs)

[3.4 Test Outputs 6](#test-outputs)

[4.0 TEST SCENARIO 7](#test-scenario)

[5.0 requirements verification traceability matrix (RVTM)
9](#requirements-verification-traceability-matrix-rvtm)

# Scope

See Software Test Plan.

# APPLICABLE DOCUMENTS

## Source Documents

-   None

    []{.mark}

## Reference Documents

-   Legacy NWS GFE Acceptance Test Case ID Number: ac003

-   Legacy NWS GFE Test Cases for Test Areas AC -- VP

-   Section 3.1.3 of the AWIPS D-2D User's Manual Build 8.1

-   Software Test Plan for the Advanced Weather Information Processing
    System Project, Contract #DG133W-05-CQ-1067, August 2008

-   The Silver Spring NWS AWIPS 1 test bed application

-   Release OB8.1 and OB8.2 of the Weather Event Simulator (WES)

-   Rational RequisitePro

# Test Case description

This test case exercises and demonstrates the capabilities of the Grid
Manager using the GFE application.

## Assumptions, Constraints and Preconditions

-   IFP Server running

-   Several weather elements are loaded

-   There are multiple grids available for the weather elements (at
    minimum T, Td, Wind, Wx, and Hazards weather elements)

-   TO9 software has been installed successfully

-   CAVE, EDEX and pgAdmin III are running

-   Data has been ingested

-   The GFE Perspective is displayed

-   Actions, Results, and Requirements highlighted in yellow indicate
    requirements and/or capabilities to be included in the scope of
    future task orders. They are included here for purposes of
    continuity and traceability with the original AWIPS I test case
    documents.

## Recommended Hardware

See Software Test Plan.

## Test Inputs

Section 4.0 below contains the test procedures for this test case.
Sections 2.2 -- 2.9 of the Software Test Plan contain general test
inputs applicable to all TO9 test cases.

## Test Outputs

The Grid Manager will be displayed and the results outlined in section
4.0 are met. The GFE GUIs to be tested include:

-   Grid Information

# TEST SCENARIO

+---+-------------------------------+--------------------------+------+
| S | Action                        | Result                   | P    |
| t |                               |                          | ass/ |
| e |                               |                          | Fail |
| p |                               |                          |      |
+===+===============================+==========================+======+
| 1 | MB1 click on a grid in the    | The grid is displayed in |      |
| . | Grid Manager.                 | the Spatial Editor as an |      |
|   |                               | image, the Spatial       |      |
|   |                               | Editor legend indicates  |      |
|   |                               | the entry that is active |      |
|   |                               | as a white legend. The   |      |
|   |                               | grid is in edit mode as  |      |
|   |                               | indicated by '(edit)'.   |      |
+---+-------------------------------+--------------------------+------+
| 2 | MB2 click on a different      | The original weather     |      |
| . | weather element in the Grid   | element (from step #1,   |      |
|   | Manager, and a different time | provided that there is a |      |
|   | step.                         | grid available) is       |      |
|   |                               | displayed as a graphic   |      |
|   |                               | (contours) and the new   |      |
|   |                               | grid displayed as an     |      |
|   |                               | image. The legend        |      |
|   |                               | indicates both elements  |      |
|   |                               | are visible. The element |      |
|   |                               | selected in step #2 is   |      |
|   |                               | in edit mode as          |      |
|   |                               | indicated by '(edit)'.   |      |
+---+-------------------------------+--------------------------+------+
| 3 | MB1 drag in the Grid Manager  | A selection time range   |      |
| . | starting at the center and    | is created, [and the     |      |
|   | keep moving the mouse to the  | Grid Manager             |      |
|   | right edge of the window,     | auto-scrolls]{.mark}.    |      |
|   | then after a couple of        |                          |      |
|   | seconds release the mouse     |                          |      |
|   | button.                       |                          |      |
+---+-------------------------------+--------------------------+------+
| 4 | MB1 drag in the Grid Manager  | A selection time range   |      |
| . | starting at the center and    | is created, [and the     |      |
|   | keep moving the mouse to the  | Grid Manager             |      |
|   | left edge of the window, then | auto-scrolls.]{.mark}    |      |
|   | after a couple of seconds     |                          |      |
|   | release the mouse button.     |                          |      |
+---+-------------------------------+--------------------------+------+
| 5 | Scroll the time scale to a    | Grid Manager is set up   |      |
| . | time so that the end of the   | for the next step.       |      |
|   | selection time range is       |                          |      |
|   | visible and there is a few    |                          |      |
|   | inches of Grid Manager        |                          |      |
|   | visible (in time) showing no  |                          |      |
|   | selection time range.         |                          |      |
+---+-------------------------------+--------------------------+------+
| 6 | SHIFT MB1 click in the Grid   | The selection time range |      |
| . | Manager in an area that has   | expands to include the   |      |
|   | no selection time range.      | click point.             |      |
|   |                               |                          |      |
+---+-------------------------------+--------------------------+------+
| 7 | MB2 drag a grid in the Grid   | The valid time of the    |      |
| . | Manager to the right.         | grid is expanded.        |      |
|   |                               |                          |      |
|   |                               |                          |      |
+---+-------------------------------+--------------------------+------+
| 8 | MB2 drag a grid in the Grid   | The valid time of the    |      |
| . | Manager to the left.          | grid is expanded.        |      |
|   |                               |                          |      |
|   |                               |                          |      |
+---+-------------------------------+--------------------------+------+
| 9 | MB3 popup over a T grid and   | Grid was copied and the  |      |
| . | select 'Copy Grid'. Click and | data is identical.       |      |
|   | hold MB3 over an empty shadow |                          |      |
|   | block for 'T' and select      |                          |      |
|   | 'Paste Grid'. MB1 click on    |                          |      |
|   | the source grid and examine   |                          |      |
|   | it. MB1 click on the          |                          |      |
|   | destination grid and examine  |                          |      |
|   | it.                           |                          |      |
+---+-------------------------------+--------------------------+------+
| 1 | MB3 popup over an existing Td | The destination grid is  |      |
| 0 | grid and select 'Paste        | replaced with the grid   |      |
| . | Grid'.                        | copied from T and the    |      |
|   |                               | data is identical to the |      |
|   |                               | source grid.             |      |
+---+-------------------------------+--------------------------+------+
| 1 | MB3 popup over an empty       | There is no 'Paste Grid' |      |
| 1 | shadow block for Wind.        | option.                  |      |
| . |                               |                          |      |
|   |                               |                          |      |
+---+-------------------------------+--------------------------+------+
| 1 | MB3 popup over an empty       | There is no 'Paste Grid' |      |
| 2 | shadow block for Wx.          | option.                  |      |
| . |                               |                          |      |
|   |                               |                          |      |
+---+-------------------------------+--------------------------+------+
| 1 | MB3 popup over an empty       | There is no 'Paste Grid' |      |
| 3 | shadow block for Hazards.     | option.                  |      |
| . |                               |                          |      |
|   |                               |                          |      |
+---+-------------------------------+--------------------------+------+
| 1 | MB1 click on a T grid in the  | The entire grid is       |      |
| 4 | Grid Manager. MB1 click on    | assigned the pickup      |      |
| . | the color bar to pick up a    | value. Note: You may     |      |
|   | value. MB3 popup over a T     | need to MB1 click the    |      |
|   | grid and select 'Assign xxx', | grid to view it.         |      |
|   | where 'xxx' is the pickup     |                          |      |
|   | value.                        |                          |      |
+---+-------------------------------+--------------------------+------+
| 1 | Over the same grid, MB3 popup | The entire grid is       |      |
| 5 | and select 'Assign xxx',      | assigned the default     |      |
| . | where 'xxx' is the default    | value.                   |      |
|   | value.                        |                          |      |
+---+-------------------------------+--------------------------+------+
| 1 | Over the same grid in the     | The grid block is        |      |
| 6 | Grid Manager, MB3 popup and   | removed and the Spatial  |      |
| . | select 'Delete Grid'.         | Editor display of that   |      |
|   |                               | grid is cleared.         |      |
+---+-------------------------------+--------------------------+------+
| 1 | MB3 popup over any location   | The deleted grid         |      |
| 7 | in the Grid Manager and       | reappears since the      |      |
| . | select 'Undo'.                | delete option was        |      |
|   |                               | undone.                  |      |
+---+-------------------------------+--------------------------+------+
| 1 | MB3 popup over any location   | The selection time range |      |
| 8 | in the Grid Manager and       | assigns all times        |      |
| . | select 'Select All Times'.    | (verify by scrolling the |      |
|   |                               | time scale) for the      |      |
|   |                               | weather element where    |      |
|   |                               | the MB3 click occurred.  |      |
+---+-------------------------------+--------------------------+------+
| 1 | With all times selected for   | All times are selected   |      |
| 9 | the weather element in step   | for both weather         |      |
| . | #18, MB1 click on the         | elements.                |      |
|   | selection box on another      |                          |      |
|   | weather element in the Grid   |                          |      |
|   | Manager.                      |                          |      |
+---+-------------------------------+--------------------------+------+
| 2 | MB1 click on the selection    | That weather element is  |      |
| 0 | box for the same weather      | no longer selected and   |      |
| . | element.                      | the selection time range |      |
|   |                               | is no longer shown for   |      |
|   |                               | that weather element.    |      |
+---+-------------------------------+--------------------------+------+
| 2 | MB3 popup over a grid in the  | The Grid Information     |      |
| 1 | Grid Manager and select       | dialog is presented.     |      |
| . | 'Display Info'.               |                          |      |
|   |                               |                          |      |
+---+-------------------------------+--------------------------+------+
| 2 | Select each of the options on | The grid information,    |      |
| 2 | the Grid Information dialog   | history, state, etc. are |      |
| . | and observe the contents.     | returned.                |      |
|   |                               |                          |      |
|   | Then MB1 click 'Cancel' in    | The Grid Information     |      |
|   | the Grid Information dialog.  | dialog closes.           |      |
+---+-------------------------------+--------------------------+------+
| 2 | MB3 popup anywhere in the     | The selection time range |      |
| 3 | Grid Manager and select       | disappears from the time |      |
| . | 'Deselect All'.               | scale and Grid Manager.  |      |
|   |                               | No Grid Manager panes    |      |
|   |                               | have the selection box   |      |
|   |                               | selected.                |      |
+---+-------------------------------+--------------------------+------+
| 2 | Scroll the Grid Manager       | The Grid Manager scrolls |      |
| 4 | vertically.                   | vertically through the   |      |
| . |                               | list of weather          |      |
|   |                               | elements.                |      |
+---+-------------------------------+--------------------------+------+
| 2 | MB1 click on the time scale.  | The Spatial Editor time  |      |
| 5 |                               | is changed and if the    |      |
| . |                               | yellow time intersects   |      |
|   |                               | an editable weather      |      |
|   |                               | element, then that grid  |      |
|   |                               | is displayed in the      |      |
|   |                               | Spatial Editor.          |      |
+---+-------------------------------+--------------------------+------+
|   | End of test.                  |                          |      |
+---+-------------------------------+--------------------------+------+

# requirements verification traceability matrix (RVTM)

  ----------- ------------------------------------------------- ----------
  Number      Description                                       Test
                                                                Step(s)

  SYSR2056    The AWIPS system shall implement the GFE Grid     ALL
              Manager.                                          

  SYSR2057    The AWIPS system shall implement the GFE Primary  ALL
              Widget.                                           

  SYSR2059    The AWIPS system shall implement the GFE Time     3-4
              range Dialog.                                     

  SYSR2060    The AWIPS system shall implement the GFE Copy     9
              Dialog.                                           

  SYSR2061    The AWIPS system shall implement the GFE Paste    9, 10
              Dialog.                                           

  SYSR2112    The AWIPS GFESuite shall implement the Grid       ALL
              Manager.                                          
  ----------- ------------------------------------------------- ----------