Testing Mobile Business Object Operations

Configure operation arguments and test them against the data source to which they are bound. Optionally create a reusable configuration for future testing.

  1. From the Mobile Application Diagram, select the operation you want to test.
  2. Right-click the operation and select Test Execute.
    Note: You can also access the Test Execute dialog when creating mobile business object operations, or from the operation's Definition tab in the Properties view.
  3. From the Test Execute dialog, configure the operation arguments used to test the operation.
    Test Execute dialog instructions
    Field Description
    Operation arguments
    • Argument name – (read-only) the name of the data source argument.
    • Datatype – (read-only) the argument's datatype.
    • Nullable – (read-only) accepts NULL if selected.
    • value – supply a value for the operation argument compatible with the datatype, to pass to the data source. To select NULL as the value, click in the field next to the parameter, then click the down arrow on the right to select NULL as the value from the drop-down. If the datatype is binary, bigbinary, bigstring, date, datetime, or time, select the input dialog in which you can select a value.

    You can order the operation arguments by selecting the column heading by which you want to order.

    Existing Configurations Select either an existing configuration that contains test settings, or test without using a configuration:
    • If you continue without a configuration, then the preview uses the parameter data you provided. Optionally provide a configuration name and click Save to save your settings as a configuration. If you enter a name without clicking Save, the configuration is not created.
    • Select an existing configuration from which you test the operation.
    • Delete – deletes the selected configuration.
    • Delete all – deletes all saved configurations.
    • Load default – loads the default value for each parameter.
    Test Execute Select Test Execute to pass the parameters to the data source and view the results in the Preview Result screen. A warning message appears. Click OK to continue.
    Save as default values The argument values provided during test execution are used as the operation argument default values, and reflected in the Operation Parameters tab in the Properties view.