Model Debugger and User Interface Testing

This chapter covers the following topics:

Unit Testing Using the Model Debugger

For general information about the Model Debugger, see The Model Debugger.

For general information about unit testing, see Introduction to Unit Testing .

For information about using the Model Debugger, see:

Launching the Model Debugger from Configurator Developer

To launch the Model Debugger from Configurator Developer:

  1. Open a Model for editing, and then navigate to the Structure, Rules, or UI area of the Workbench.

  2. Click Test Model.

  3. Choose whether to Create a new configuration or Restore a saved configuration, and then click Next.

  4. If you chose to restore a saved configuration, select a saved configuration from the list, and then click Next.

    You can sort the data in each column by clicking the column header.

  5. Verify that Model Debugger is selected, and then optionally enter any Session Parameters.

    For details, see Session Parameters.

  6. Click Finish. The Model Debugger displays the selected Model and applies the session parameters that you specified.

    For details on using the Model Debugger, see Using the Model Debugger.

Launching the Model Debugger from the E-Business Suite Home Page

You can launch the Model Debugger directly from the Oracle E-Business Suite Home page, without starting Configurator Developer. The only limitation when launching the Model Debugger this way is that you can restore a saved configuration, but you cannot create a new configuration.

To launch the Model Debugger from the Oracle Applications E-Business Suite Home page:

  1. Select the Oracle Configurator Developer responsibility, and then select Test Configuration.

  2. Enter a Configuration Header ID and Revision Number, and then click Next.

  3. If you want to display pricing and ATP information in the Model Debugger, click Preferences, and then enter the callback interface packages and procedures to use in the Custom Initialization Parameters field. For details, see Displaying Pricing Information and ATP Dates when Unit Testing.

  4. To load the saved configuration using the latest, published version of the Model:

    1. Select Use Currently Published Model Version.

      The Model may have been modified since the configuration was saved. Select this option to test the saved configuration against the most up-to-date version of the Model structure and rules.

    2. Specify the publication you want to test by specifying a date, Application Code, Publication Mode, or Usage.

    3. Click Next.

  5. To test the version of the Model against which the configuration was saved, choose Use Model Version Saved in Configuration, and then click Next.

    Select this option to load the Model in the same state it was in when the configuration was saved. In other words, the Model structure and rules that are loaded are the same as when the configuration was saved, regardless of whether the published version has changed.

  6. Optionally enter any Session Parameters.

    For details, see Session Parameters.

  7. Click Finish.

    For details on using the Model Debugger, see Using the Model Debugger.

Using the Model Debugger

Important: The Model Debugger provides some additional functionality when using the Fusion Configurator Engine (FCE). The FCE is an alternative to the configuration engine described in this document. For all information about the Model Debugger and the FCE, see the Oracle Configurator Fusion Configurator Engine Guide.

Following are some suggestions for unit testing a configuration model using the Model Debugger.

Unit Testing Using a Generated User Interface

To generate a User Interface, see Creating a New User Interface.

Related Topics

Launching a Runtime User Interface from Configurator Developer

Launching a Runtime User Interface from the E-Business Suite Home Page

Launching a Runtime User Interface from Configurator Developer

To unit test a Model in a generated User Interface:

  1. Open the Model for editing, then navigate to the Structure, Rules, or UI area of the Workbench.

  2. Click Test Model.

  3. Choose either Create a new configuration, or Restore a saved configuration, then click Next.

  4. If you chose to restore a saved configuration, select it from the list, and then click Next.

    If you chose to create a new configuration, go to the next step.

  5. Select Model UI, and then select a UI from the list.

  6. Specify Session Parameters, and then click Finish. Session parameters are described in Session Parameters.

  7. Unit test the Model structure, rules, and review the UI to ensure that it performs as expected. For more information see Configuring an Item in a Runtime Oracle Configurator.

Launching a Runtime User Interface from the E-Business Suite Home Page

To launch a saved configuration from the Oracle Applications E-Business Suite Home page, you must know the configuration’s header ID and Revision number.

When you open a saved configuration from the E-Business Suite Home page, you can view only the UI that was saved with the configuration; in other words, you do not have the option to select one of the Model’s UIs.

To unit test a saved configuration from the E-Business Suite Home page:

  1. Click Test Configuration.

  2. Enter the saved configuration’s Header ID and Revision Number.

  3. To test the published version of the Model, choose Use Currently Published Model Version.

    To test the version of the Model against which the configuration was saved, choose Use Model Version Saved in Configuration, and then click Next.

  4. If you chose to test the currently published Model version, enter applicability parameters to specify the publication you want to test.

  5. Specify Session Parameters, and then click Finish.

    Session parameters are described in Session Parameters.

For details about unit testing a configuration in a User Interface, see Configuring an Item in a Runtime Oracle Configurator.