3.12 Runtime Commands

Tasks created in CBA ItemBuilder project files (see section 3.6) are to be used with an execution environment, i.e., using a particular deployment software (see chapter 7). In most cases, deployments are a set of CBA ItemBuilder tasks, administered in a linear sequences. An authentication (i.e., login) of the test-takers is often required first before the items are shown in the defined sequence. Regardless of the administration mode, items are rendered in the test-takers web browser or in a browser-component provided as part of the deployment software.51

Since the CBA ItemBuilder allows creating complex items with multiple pages, it is essential to distinguish the navigation within Tasks (implemented inside the CBA ItemBuilder) and the navigation between Tasks, which is handled by the deployment software. Both parts are linked with so-called Runtime Commands (short: Command), which the item author can define within CBA ItemBuilder tasks to allow test-takers to end working on a particular task.

Runtime Commands are used to send instructions to the deployment software. In order for a test participant to finish processing a CBA ItemBuilder task, at least one NEXT_TASK command is required in each task (see subsection 3.12.1).

The different Runtime Commands can be assigned to Buttons (see 3.11.2) and to MenuItems (see 3.9.7) using the context menu in the Page Editor (see Figure 3.138).

Context menu to assign a Runtime Command.

FIGURE 3.138: Context menu to assign a Runtime Command.

The dialog that opens (Set Runtime Command, see Figure 3.139) allows you to select one of the available Runtime Commands. Exactly one command (or EMPTY for none) can then be assigned to the currently selected Button or MenuItem (default is EMPTY).

Dialog Set Runtime Command.

FIGURE 3.139: Dialog Set Runtime Command.

After specifying which command should be triggered by click or touch on the selected Buttons or MenuItems by selecting an entry in the dialog Set Runtime Command the button OK is used to conform the configuration. If a command is already assigned, it can be removed by selecting the command EMPTY or by deselecting the selected entry in the Set Runtime Command dialog.

Runtime Commands can also be defined directly in the Properties view (see property Command in Figure 3.140). The entry EMPTY can be selected to remove a defined Runtime Command.

Property Command in section Component Interaction.

FIGURE 3.140: Property Command in section Component Interaction.

Runtime Commands can also be triggered from the dynamic content of items (see subsection 4.4.6 for specific finite-state machine operators that trigger commands).

Some commands refer to the higher-level navigation between tasks and need to be tested not only in the Preview (see section 1.4) but also in the deploymet software (see chapter 7).

  1. A browser-component is an HTML browser control embedded in other software such as an Electron application.↩︎