Test Case Spatial Editor/Color Bar Popups/Status Bar

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)
10](#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: ac005

-   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 interactivity of the
Spatial Editor, Color Bar Popups, and the Status Bar.

## 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 Spatial Editor, Color Bar and Status Bar will be displayed and the
results outlined in section 4.0 are met. The GFE GUIs to be tested
include:

-   Fuzz Value

-   [Set Color Table Range]{.mark}

-   [View Messages]{.mark}

# TEST SCENARIO

+---+-------------------------------+--------------------------+------+
| S | Action                        | Result                   | P    |
| t |                               |                          | ass/ |
| e |                               |                          | Fail |
| p |                               |                          |      |
+===+===============================+==========================+======+
| S |                               |                          |      |
| p |                               |                          |      |
| a |                               |                          |      |
| t |                               |                          |      |
| i |                               |                          |      |
| a |                               |                          |      |
| l |                               |                          |      |
| E |                               |                          |      |
| d |                               |                          |      |
| i |                               |                          |      |
| t |                               |                          |      |
| o |                               |                          |      |
| r |                               |                          |      |
+---+-------------------------------+--------------------------+------+
| 1 | Over the main area of the     | At most there is just    |      |
| . | Spatial Editor, MB3 popup and | one legend displayed,    |      |
|   | select 'Legends' -\> 'Show    | which is for the         |      |
|   | Active Weather Element'. If   | currently active weather |      |
|   | the option is not available,  | element. Note that there |      |
|   | then the legends are already  | may not be any active    |      |
|   | in that mode.                 | element, and thus there  |      |
|   |                               | might not be a legend.   |      |
+---+-------------------------------+--------------------------+------+
| 2 | MB1 click on a T 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.       |      |
+---+-------------------------------+--------------------------+------+
| 3 | Select the '=' mode on the    | The '=' mode is          |      |
| . | Edit Area Mode                | selected.                |      |
|   | ![](media/image1.jpeg)        |                          |      |
|   | {width="0.6041666666666666in" |                          |      |
|   | h                             |                          |      |
|   | eight="1.4791666666666667in"} |                          |      |
|   | toolbar pull-down.            |                          |      |
+---+-------------------------------+--------------------------+------+
| 4 | MB3 popup over an area of the | An edit area appears to  |      |
| . | Spatial Editor and select     | indicate all points that |      |
|   | 'Select Homogeneous Area'.    | are within a particular  |      |
|   |                               | threshold from the MB3   |      |
|   |                               | point on the screen.     |      |
+---+-------------------------------+--------------------------+------+
| 5 | MB3 popup over the Spatial    | The new Fuzz Value is    |      |
| . | Editor and select 'Set Fuzz   | set.                     |      |
|   | Value\...'. From the Fuzz     |                          |      |
|   | Value dialog, set the Fuzz    | The Fuzz Value dialog    |      |
|   | Value to 20. Then MB1 click   | closes.                  |      |
|   | 'Dismiss'.                    |                          |      |
+---+-------------------------------+--------------------------+------+
| 6 | Over the same location in     | The edit area is changed |      |
| . | step #3, MB3 popup and select | to indicate all          |      |
|   | 'Select Homogenous Area'.     | contiguous points within |      |
|   |                               | the new threshold.       |      |
+---+-------------------------------+--------------------------+------+
| 7 | Over the selected area in the | All points that are      |      |
| . | Spatial Editor, MB3 popup and | selected and contiguous  |      |
|   | select 'Deselect Contiguous   | with the MB3 popup       |      |
|   | Area'.                        | location are deselected. |      |
+---+-------------------------------+--------------------------+------+
| C |                               |                          |      |
| o |                               |                          |      |
| l |                               |                          |      |
| o |                               |                          |      |
| r |                               |                          |      |
| B |                               |                          |      |
| a |                               |                          |      |
| r |                               |                          |      |
+---+-------------------------------+--------------------------+------+
| 8 | MB3 popup over the Color Bar  | The new Fuzz Value is    |      |
| . | and select 'Set Fuzz          | set.                     |      |
|   | Value\...'. From the Fuzz     |                          |      |
|   | Value dialog, set the Fuzz    | The Fuzz Value dialog    |      |
|   | Value to 5. Then MB1 click    | closes.                  |      |
|   | 'Dismiss'.                    |                          |      |
+---+-------------------------------+--------------------------+------+
| 9 | Over the same location in     | The edit area is changed |      |
| . | step #3, MB3 popup and select | to indicate all          |      |
|   | 'Select Homogenous Area'.     | contiguous points within |      |
|   |                               | the new threshold.       |      |
+---+-------------------------------+--------------------------+------+
| 1 | Over the selected area in the | All points that are      |      |
| 0 | Spatial Editor, MB3 popup and | selected and contiguous  |      |
| . | select 'Deselect Contiguous   | with the MB3 popup       |      |
|   | Area'.                        | location are deselected. |      |
+---+-------------------------------+--------------------------+------+
| 1 | MB3 popup on the color bar    | The color range is       |      |
| 1 | and select 'Fit To Data' -\>  | recalculated for the     |      |
| . | 'All Grids'.                  | color spectrum as shown  |      |
|   |                               | with different labels in |      |
|   |                               | the color bar. The image |      |
|   |                               | colors are changed       |      |
|   |                               | accordingly.             |      |
+---+-------------------------------+--------------------------+------+
| 1 | MB3 popup on the color bar    | The color range is       |      |
| 2 | and select 'Fit To Data' -\>  | recalculated for the     |      |
| . | 'Single Grid'.                | color spectrum as shown  |      |
|   |                               | with different labels in |      |
|   |                               | the color bar, and the   |      |
|   |                               | image colors are changed |      |
|   |                               | accordingly.             |      |
+---+-------------------------------+--------------------------+------+
| 1 | MB3 popup on the color bar    | The color range is       |      |
| 3 | and select 'Set Range\...'.   | recalculated for the     |      |
| . | Change the Minimum and        | color spectrum as shown  |      |
|   | Maximum sliders on the Set    | with different labels in |      |
|   | Color Table Range dialog.     | the color bar, and the   |      |
|   | Then MB1 click 'OK'.          | image colors are changed |      |
|   |                               | accordingly.             |      |
+---+-------------------------------+--------------------------+------+
| 1 | MB3 popup on the color bar    | The scaling does not     |      |
| 4 | and select 'Change Color      | change (i.e., same range |      |
| . | Table To' -\> \<your          | appears on the color     |      |
|   | choice\>.                     | bar), but the color      |      |
|   |                               | enhancement and image    |      |
|   |                               | change.                  |      |
+---+-------------------------------+--------------------------+------+
| 1 | MB3 popup on the color bar    | The scaling reverts back |      |
| 5 | and select 'Full Default      | to the minimum/maximum   |      |
| . | Range'.                       | possible values as       |      |
|   |                               | defined in               |      |
|   |                               | s                        |      |
|   |                               | erverConfig/localConfig. |      |
|   |                               | The same color table is  |      |
|   |                               | used, but due to the     |      |
|   |                               | scaling changes, the     |      |
|   |                               | image changes.           |      |
+---+-------------------------------+--------------------------+------+
| S |                               |                          |      |
| t |                               |                          |      |
| a |                               |                          |      |
| t |                               |                          |      |
| u |                               |                          |      |
| s |                               |                          |      |
| B |                               |                          |      |
| a |                               |                          |      |
| r |                               |                          |      |
+---+-------------------------------+--------------------------+------+
| 1 | Verify a status bar is        | A status bar is present. |      |
| 6 | present in the lower left     |                          |      |
| . | corner of the CAVE display.   |                          |      |
|   |                               |                          |      |
+---+-------------------------------+--------------------------+------+
| 1 | Open a terminal window and    | A green message appears  |      |
| 7 | 'cd' to the GFESuite          | in the left status bar,  |      |
| . | installation directory. Then  | and the status light is  |      |
|   | 'cd' to the bin directory.    | blinking.                |      |
|   | Execute the command:          |                          |      |
|   |                               |                          |      |
|   | sendGfeMessage -r -m          |                          |      |
|   | \"Hello\"                     |                          |      |
+---+-------------------------------+--------------------------+------+
| 1 | Execute the command:          | A green message appears  |      |
| 8 |                               | in the right status bar, |      |
| . | sendGfeMessage -r -m          | and its status light is  |      |
|   | \"Goodbye\" -c \"SMARTINIT\"  | blinking.                |      |
+---+-------------------------------+--------------------------+------+
| 1 | Execute the command:          | A yellow message appears |      |
| 9 |                               | in the left status bar,  |      |
| . | sendGfeMessage -s -m          | and its status light is  |      |
|   | \"Significant Message\"       | blinking. A yellow       |      |
|   |                               | banner message appears.  |      |
+---+-------------------------------+--------------------------+------+
| 2 | Acknowledge the \"Significant | The Significant Message  |      |
| 0 | Message\".                    | dialog closes. The       |      |
| . |                               | yellow status message in |      |
|   |                               | the status bar changes   |      |
|   |                               | to gray.                 |      |
+---+-------------------------------+--------------------------+------+
| 2 | Execute the command:          | A red banner message     |      |
| 1 |                               | appears, the status      |      |
| . | sendGfeMessage -u -m \"Urgent | light is blinking red,   |      |
|   | Message\"                     | and the message is       |      |
|   |                               | repeated in the left     |      |
|   |                               | status bar.              |      |
+---+-------------------------------+--------------------------+------+
| 2 | Acknowledge the Urgent        | The Urgent Message       |      |
| 2 | Message.                      | dialog closes. The red   |      |
| . |                               | status message in the    |      |
|   |                               | status bar changes to    |      |
|   |                               | gray.                    |      |
+---+-------------------------------+--------------------------+------+
| 2 | Execute the command:          | An orange message        |      |
| 3 |                               | appears in the left      |      |
| . | sendGfeMessage -a -m \"Alert  | status bar and its       |      |
|   | Message\"                     | status light is          |      |
|   |                               | blinking.                |      |
+---+-------------------------------+--------------------------+------+
| 2 | Using the '\^' button in each | The View Messages dialog |      |
| 4 | of the status bars to view    | is displayed listing all |      |
| . | previous messages.            | of the messages received |      |
|   |                               | for that appropriate     |      |
|   |                               | status bar. The original |      |
|   |                               | colors are present in    |      |
|   |                               | the dialog (red for      |      |
|   |                               | urgent, yellow for       |      |
|   |                               | significant, green for   |      |
|   |                               | regular, orange for      |      |
|   |                               | alert).                  |      |
+---+-------------------------------+--------------------------+------+
| 2 | Dismiss the dialog by MB1     |                          |      |
| 5 | clicking the 'Close' button.  |                          |      |
| . |                               |                          |      |
|   |                               |                          |      |
+---+-------------------------------+--------------------------+------+
|   | End of test.                  |                          |      |
+---+-------------------------------+--------------------------+------+

# requirements verification traceability matrix (RVTM)

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

  SYSR2114    The AWIPS GFESuite shall implement the Spatial    ALL
              Editor/Color Bar Popups/Status Bar.               
  ----------- ------------------------------------------------- ----------