Test Case ID Number: cg114

Purpose of Test:

Process Monitor configurations

Test Setup:

The IFP server is running. The GFE is running.

Test Procedure:

1)  From the GFE main menu, GFE->Define Config and ifpIMAGE Files.... From the dialog that is displayed, MB3 and select "New" from the popup menu. Enter "cg114". Result:  A new gfe configuration file template is placed into a Python editor window.

2)  Put the following into the file (replacing everything that is there).

from gfeConfig import *
ProcessMonitorMaxLines = 20
ProcessMonitorMaxOldTasks = 3
ProcessMonitorMaxTasks = 2

3) Use Save on the Python editor. Result: The configuration file is saved.

4) Restart the GFE.  Pick the "cg114" configuration file from the GFE Start Up Dialog.  

5) Select Products->Formatter Launcher to bring up the Formatter Launcher Dialog.  Choose Products->Baseline_ZFP.   Result: A new tab appears in the Formatter Launcher Dialog containing the ZFP zone combiner.

6) From the Formatter Launcher, choose Products->Baseline_FWF.  Result: A new tab appears in the Formatter Launcher Dialog containing the FWF zone combiner.

7) From the Formatter Launcher, choose Products->Baseline_FWFTable.  Result: A new tab appears in the Formatter Launcher Dialog containing the FWF Table zone combiner.

8) Bring up the Process Monitor Dialog through the GFE main menu Products->Process Monitor.  Result: The Process Monitor dialog is displayed.

9) Do this step quickly, so we get several processes queued and/or running. On the Formatter Launcher, cycle through each tab by clicking on the tab, clicking the Run run icon icon, and then clicking OK on the product Values Dialog.  

10) The Process Monitor Dialog shows two processes running at the same time.  The blinking "Green" square indicates that the process is running.  Result: Verified.

11) When the processses have finished, click the Terminal Window Terminal Window on the Process Monitor for each of the tasks.  Note the number of lines that exist in each window.  Result:  A maximum of 20 lines exist.

12) From the Formatter Launcher, click the Run run icon icon for one of the products.  Click OK on the product dialog window that appears.  Examine the Process Monitor Dialog.  Result:  One of the older tasks is no longer shown in the Process Monitor Dialog since the limit was set to 3 old tasks.

13) Shut down the GFE from the GFE->Exit GFE menu and restart it using the gfeConfig configuration file.

14) Select Products->Formatter Launcher to bring up the Formatter Launcher Dialog.  Choose Products->Baseline_ZFP.   Result: A new tab appears in the Formatter Launcher Dialog containing the ZFP zone combiner.

15) From the Formatter Launcher, choose Products->Baseline_FWF.  Result: A new tab appears in the Formatter Launcher Dialog containing the FWF zone combiner.

16) From the Formatter Launcher, choose Products->Baseline_FWFTable.  Result: A new tab appears in the Formatter Launcher Dialog containing the FWF Table zone combiner.

17) Bring up the Process Monitor Dialog through the GFE main menu Products->Process Monitor.  Result: The Process Monitor dialog is displayed.

18) On the Formatter Launcher, cycle through each tab by clicking on the tab, clicking the Run run icon icon, and then clicking OK on the product Values Dialog. 

19) The Process Monitor Dialog shows only one process running.  The blinking "Green" square indicates that a process is running.  Result: Verified.

20) When the processses have finished, click the Terminal Window Terminal Window on the Process Monitor for each of the tasks.  Note the number of lines that exist in each window.  Result:  A huge number of lines can be shown (from start to finish of the product).  Default size is 2000 lines.

21) From the Formatter Launcher, click the Run run icon icon for one of the products.  Click OK on the product dialog window that appears.  Examine the Process Monitor Dialog.  Result: Default is 10 old tasks can be displayed, thus there is plenty of room for the new task along with the three previous tasks.

Test Cleanup:

Delete the created configuration file.