RAMP TSAD07 Step 6 Testing and Debugging

RAMP-TS

RAMP-TSAD07 Step 6.  Testing and Debugging

The final step involves some extensive testing of the navigation defined in your code.

Check that your All Details command handler tab can handle these situations.

  • Repeats the Next->Next->Previous cycle around the 3 different destination screens in different variations and combinations.
  • Selecting different employees down the instance list with UFRTS03_D1 on display.

The Employee Details 1 screen (UFRTS03_D1) returns to its nearest junction, Input Employee Number screen (UFRTS03_R1). The NAVIGATETO script for UFRTS03_R1 navigates back to UFRTS03_D1 by setting Employee Number from the instance list and sending the Enter key.

  • Selecting different employees down the instance list with UFRTS03_D2 displayed initially.

The Employee Details 1 screen (UFRTS03_D1) is displayed for each employee selected in the instance list. This happens because screen UFRTS03_D1 is associated with command handler “All Details”.

  • Selecting different employees down the instance list with UFRTS03_D3 displayed initially.

This action will once again displayed the first Employee Details screen (UFRTS03_D1) for the employee selected from the instance list.

  • Navigating to other business objects and back again with UFRTS03_D1 displayed.

When you select a different business object, RAMP exits the current screen to return to its nearest junction. From here, RAMP creates a navigation plan to reach the requested command handler for the currently selected business object. i.e. a different 5250 screen.

When you reselect the All Details tab, the opposite navigation occurs. The current screen exits to its nearest junction and a RAMP generated navigation plan returns to the first All Details screen (UFRTS03_D1).

  • Navigating to other business objects and back again with UFRTS03_D2 displayed (should come back to UFRTS03_D1)

The navigation is similar to the previous example. Once again when you reselect the All Details tab for the Employees business object it is the first Employee Details screen (UFRTS03_D1) which is displayed since it is this screen which is associated with All Details.

  • Navigating to other business objects and back again with UFRTS03_D3 displayed (should come back to UFRTS03_D1).

The logic here is the same as the previous example.

If you have problems you should use application level tracing to see what is happening as your scripts execute.