This is where a developer declares the data he is looking for. An output parameter node will be translated into a member variable
of the return object of the main navigation method.
There are two types of output parameters: a GetField output parameters or a GetRow output parameter. The GetField is the default
one that is generated when a field is dragged from the emulation screen to the Output Params node (this generates a GetField
method in the code). A GetRow is added manually by right clicking on the screen node and then selecting Add | Row (this generates
a GetRow method with a substring of it returned in the generated code).
Output Parameter (or GetField)
We can add an Output Parameter Node in either of the following manner:
|
1. |
While in a screen, in recording mode, drag a field to the tree and drop it on the Output Parameters Node of that screen. We
can add only one output for a specific (row, column) position.
|
|
2. |
From the shortcut menu, select insert/ Output. |
Property |
Description |
Data |
Identifies the output parameter. |
Location |
Row and Column of the field in the green screen. |
Target |
Output. Read only. |
GetRow Output Parameter
You can add an GetRow Output Parameter Node as follows:
|
1. |
While in a screen, in recording mode, right clock on the screen node and select Add | GetRow. A new GetRow node (with yellow
arrow) will be added under the screen node. By default, the row number for a new GetRow refers to row 0 and you have to change
that form the properties of the GetRow node. We can add only one GetRow output for a specific (row, column1, column2) position.
|
|
2. |
Select the GetRow node and from the properties grid set the row, starting column, ending column and the name of the output
you want.
|
Property |
Description |
Data |
Identifies the output parameter. |
Location |
Row and Column of the field in the green screen. |
Target |
Output. Read only. |