Siebel Business Process Framework: Task UI Guide > Testing, Troubleshooting, Deploying, and Administering a Task UI > Process of Testing a Task UI >

Using the Task Debugger


This task is a step in Process of Testing a Task UI.

The Task Debugger is a tool that you can run to test a task UI. You can use the Debug Mode in the Siebel client when you use the Task Debugger to do the same work that you expect the user to perform. The debugger allows you to read a watch window that displays values of various properties that are involved with the task UI. The debugger displays and modifies these values while you use the task UI.

Making the Debug Mode Available

You can step through the task UI in debug mode. Debug Mode is a restricted menu item that Siebel CRM displays on the Tools menu in the Siebel client. If the EnableRestrictedMenu parameter is set to:

  • TRUE. Siebel CRM displays the Debug Mode item.
  • FALSE. Siebel CRM does not display the Debug Mode menu item.

The procedure you perform depends on the type of Siebel client you use.

To make the debug mode available when using the Siebel Mobile Web Client

  1. Use a text editor to open the configuration file (.cfg) for the Siebel application.

    For example, to open the configuration file for Siebel Call Center, navigate to the following directory, and then open the uagent.cfg file:

    D:\Siebel\81\21031\MWC\BIN\ENU

  2. In the InfraUIFramework section, set the EnableRestrictedMenu parameter to TRUE.

    For example:

    EnableRestrictedMenu = TRUE

    If EnableRestrictedMenu is not in the InfraUIFramework section, then add it.

  3. Save your modifications, and then close the file.
  4. Run the Task Debugger.

    For more information, see Running the Task Debugger.

    If the EnableRestrictedMenu parameter is set to something other than True or False, or if it is not defined in the InfraUIFramework section, then Siebel CRM does not display the Debug Mode menu item unless you possess access to the Admin - Restricted Menu Items view.

To make the debug mode available when using the Siebel Web Client

  1. In the Siebel client, navigate to the Administration - Server Configuration screen, and then the Servers view.
  2. In the Siebel Servers list, choose a Siebel Server.
  3. Click the Components view tab.
  4. In the Components list, query the Component field for the application object manager.

    For example, query the Component field for the following text:

    Call Center Object Manager (ENU)

  5. Click the Parameters view tab that Siebel CRM displays below the Components list.
  6. In the Component Parameters list, query the Parameter field for EnableRestrictedMenu.
  7. Set the value to True to enable debug mode.
  8. Run the Task Debugger.

    For more information, see Running the Task Debugger.

Running the Task Debugger

You can choose the Tools menu and then the Debug Mode menu item in the Siebel client to toggle the Debug Mode on or off. You can toggle this mode before, during, or after running a task UI.

To run the task debugger

  1. Log in to the Siebel client.
  2. Choose the Tools menu, and then the Debug Mode menu item.
  3. To open the task pane, click the Open Task Pane icon.

    Siebel CRM displays the Open Task Pane icon in the same row of icons where it displays the Site Map icon.

  4. From the task pane, drill down on the task UI that you must debug.

    Siebel CRM opens the task UI and then runs the start step of the task UI. It displays the Task Properties watch window for this task UI, including the properties for the step that it most recently run. It displays a line titled Last Action under the name of the task UI you are debugging. This line indicates the last navigation action that it performed. For example, Next.

  5. Click Continue in the watch window.

    Siebel CRM runs the next step in the task UI. For example, if the next step is a task view step, then it displays a task view.

  6. To continue to run and debug the task UI, click one of the playbar buttons in the task view.
  7. Repeat Step 5 and Step 6 until you reach the end step.

    Debugging ends when you reach the end step.

  8. Optional. To end a debugging session before you reach the end step, you can do one of the following:
    • Click Stop in the watch window.
    • Click Cancel in a task view.
Siebel Business Process Framework: Task UI Guide Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.