Previous Topic: D. Change the Release LevelNext Topic: Check the Summary Information


F. Set Up the Date and Time Fields as Variables

Next, make the date and time fields into variable fields.

Action:

Type 3 in the command line and press Enter.

-----------------------ADD RULES - RULE ACTIONS--------------- ENTER COMMAND ===> 3 RULE NAME: RUL00001 RULESET NAME: TCADS.CCC.ORDERAPP.001 TEST STREAM NAME: TCADS.CCC.ORDERAPP.001 DESCRIPTION ===> RELEASE 6.2 TO 6.3 CHANGES ===> 1 FIELD RECOGNITION 11 GENERATE FIELD VALUE 2 SCREEN RECOGNITION 12 INSERT SCREENS 3 VARIABLE FIELD 13 DELETE SCREENS 4 DELETE FIELD 14 CUT SCREEN FIELD 5 MOVE FIELD 15 PASTE SCREEN FIELD 6 CHANGE FIELD VALUE 20 USERID LOGGING 7 NEW FIELD 21 TERMINAL ID LOGGING 8 CHANGE AID KEY 22 TRANSACTION ID LOGGING 9 CHANGE CURSOR LOCATION 10 CHANGE WCC VALUES F1-HELP F2-PREVIEW F3-END F4-RETURN F9-SELECT

Result:

You will go to the Rules: Expected Screen panel containing your model screen.

Action:

The Date Field: Make the date into a variable:

Position the cursor on the first digit of the date, and then press PF9.

---------------------- RULES : EXPECTED SCREEN-------------- 12:00:50 ENTER COMMAND ===> TCA4041 - MOVE CURSOR TO VARIABLE FIELD & PRESS "SELECT" KEY OUT RECORD: 2 ....|....*....|....*....|....*....|....*....|....*....|....*....|....* ¦ DATE: 02/06/98 CAROL'S COOKIES COMPANY ¦ TIME: 08:37:05 MAIN MENU RELEASE 6.2 ¦ 4 ¦ ¦ ¦ ENTER OPTION: __ 8 ¦ 1) PLACE AN ORDER ¦ ¦ 2) CHECK STATUS OF AN ORDER 12 ¦ ¦ ¦

Result:

The Add Rule Actions—Variable Field screen will be displayed.

The information for the variable field is entered automatically as shown in the following screen.

------------------ ADD RULE ACTIONS - VARIABLE FIELD------------ ADD SUCCESSFUL ENTER COMMAND ===> RULE NAME: RUL00001 RULESET NAME: TCADS.CCC.ORDERAPP.001 TEST STREAM NAME: TCADS.CCC.ORDERAPP.001 VARIABLES: ROW COL LEN VALUE OR DESCRIPTION 01 007 008 02/11/98______________________________________________ ______________________________________________________ ______________________________________________________ F1-HELP F2-PREVIEW F3-END F4-RETURN F9-SELECT

Action:

Press PF3.

Result:

You return to the Add Rule - Rules Actions screen.

Action:

The Time Field: To make the Time field variable, select option 3 from the Add Rules—Rule Actions menu.

Type 3 in the command line and press Enter.

-----------------------ADD RULES - RULE ACTIONS--------------- ENTER COMMAND ===> 3 RULE NAME: RUL00001 RULESET NAME: TCADS.CCC.ORDERAPP.001 TEST STREAM NAME: TCADS.CCC.ORDERAPP.001 DESCRIPTION ===> RELEASE 6.2 TO 6.3 CHANGES ===> 1 FIELD RECOGNITION 11 GENERATE FIELD VALUE 2 SCREEN RECOGNITION 12 INSERT SCREENS 3 VARIABLE FIELD 13 DELETE SCREENS 4 DELETE FIELD 14 CUT SCREEN FIELD 5 MOVE FIELD 15 PASTE SCREEN FIELD 6 CHANGE FIELD VALUE 20 USERID LOGGING 7 NEW FIELD 21 TERMINAL ID LOGGING 8 CHANGE AID KEY 22 TRANSACTION ID LOGGING 9 CHANGE CURSOR LOCATION F1-HELP F2-PREVIEW F3-END F4-RETURN F9-SELECT

Result:

You will go to the Rules: Expected Screen panel containing your model screen.

Action:

Position the cursor on the first digit of the time, and then press PF9.

---------------------- RULES : EXPECTED SCREEN-------------- 12:00:50 ENTER COMMAND ===> TCA4041 - MOVE CURSOR TO VARIABLE FIELD & PRESS "SELECT" KEY RECORD: 2 ....|....*....|....*....|....*....|....*....|....*....|....*....|....* ¦ DATE: 02/06/98 CAROL'S COOKIES COMPANY ¦ TIME: 08:37:05 MAIN MENU RELEASE 6.2 ¦ 4 ¦ ¦ ¦ ENTER OPTION: __ 8 ¦ 1) PLACE AN ORDER ¦ ¦ 2) CHECK STATUS OF AN ORDER 12 ¦ ¦ ¦

Result:

The Add Rule Actions—Variable Field screen displays.

The information for the variable field is entered automatically as shown in the following screen.

---------------- ADD RULE ACTIONS - VARIABLE FIELD------------- ADD SUCCESSFUL ENTER COMMAND ===> RULE NAME: RUL00001 RULESET NAME: TCADS.CCC.ORDERAPP.001 TEST STREAM NAME: TCADS.CCC.ORDERAPP.001 VARIABLES: ROW COL LEN VALUE OR DESCRIPTION 02 007 008 14:06:31______________________________________________ ______________________________________________________ ______________________________________________________ F1-HELP F2-PREVIEW F3-END F4-RETURN F9-SELECT

Action:

Press PF3.

Result:

You return to the Add Rule—Rules Actions screen. You have now completed the field changes required for the Release Level rule.