Testing Mobile Business Object Operations

Configure operation parameters 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.
  3. From the Test Execute dialog, configure the operation parameters used to test the operation.
    Test Execute dialog instructions
    Field Description
    Operation parameters
    • Argument name – (read-only) the name of the data source argument.
    • Datatype – (read-only) the parameter's datatype.
    • Nullable – (read-only) accepts NULL if selected.
    • Required – (read-only) requires a value if selected.
    • value – supply a value for the attribute's parameter 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, date, datetime, or time, select the input dialog in which you can select a value.

    You can order the operation parameters 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.