Testing Tasks

Testing is an important step in creating successful tasks. Before generating interface objects for the task and publishing your project to MCS, verifying that the specified inputs result in the desired output ensures that your task is valid.

To test your tasks, you must have a live host connection.

Note If you test a task that begins at the endpoint of another task (its parent), Task Builder automatically navigates from the current host screen to the beginning of your task before it starts testing. If a parent task requires input, you'll need to supply the input during navigation.
To test a task
  1. In an open project, from the drop-down list of available tasks, select the task you want to test.

  2. From the Task menu, choose Test Task.

  3. In the Test Task dialog box, you can vary your task inputs to achieve different results. The values displayed by default are the values of the task input properties for the input fields.

    The Unrecorded Screen dialog box is displayed if your task encounters a screen that was not originally recorded, or that appears out of the original order. This can occur for several reasons. For example:

    If
    You can
    You use a different input value than the task is expecting, which causes the task to follow a different path Add a branch to your task.
    The host screens have changed since the task was recorded Add a branch to your task.
    You have not varied the task input Review and modify a recognition rule so that Task Builder recognizes each of the recorded screens as unique. Task steps that follow transient steps must be reviewed carefully. For more information, see Modifying Screen Recognition Rules, Overview.

    -or-

    In the Options - Recording page, adjust the Host Response Timeout so that each screen has time to finish displaying before it is assumed to be unrecorded.

    Note If you varied the task input but did not expect to navigate to a different screen as a result, and the Unrecorded Screen dialog box is displayed, it could also be an indication that the recognition rule or Host Response Timeout needs to be adjusted.

    When you successfully test your task, the Task Summary dialog box displays a list of task inputs and outputs so that you can verify the results of your task.

    To cancel testing, click Cancel Task Test or choose Cancel Task Test from the Task menu.

Related Topics
Bullet Designing Tasks, Overview
Bullet Modifying Screen Recognition Rules, Overview
Bullet Adding Branches to Tasks
  Attachmate