BUSLOOM MANUAL

Automation

Scenarios, Lua, datasets, reports, and safe execution.

11 · PROFESSIONAL

Automation

Automation executes against project tags and connection profiles through the same native connection, codecs, write guards, and Raw Traffic attribution as the desktop UI. A Professional license is required to run it; Community projects may still retain definitions.

ResourceChoose it whenWhat it owns
Structured scenarioRepeatable, reviewable test or commissioning sequenceTyped Read, Write, Expect, Wait, If/Else, Retry, nested scenario, Complete, Fail
Lua 5.4Dynamic logic that is awkward as a step treeBounded tag-oriented I/O, waits, assertions, captured output; no unrestricted OS access
Run profileA saved launch configurationAutomation target, connection, parameters, dataset, repetitions, reporting

Build the first safe scenario

  1. Start with reads and expectations

    Prove symbolic tag targets and decoding before adding a write.

  2. Add typed inputs

    Use parameters for values that change between runs. Use a dataset when the same scenario must run for multiple named cases.

  3. Add control flow sparingly

    If/Else expresses a branch, Retry repeats a bounded child sequence, and nested scenarios reuse a named workflow.

  4. Dry run

    Dry run validates and presents planned writes without changing the device. Review every target and encoded value.

  5. Run against the intended profile

    Automation has priority over background polling and may interrupt/reopen the shared connection.

  6. Inspect and export the report

    Use iteration, case, nested step, captured variable, observed value, duration, log, and transaction ID evidence.

Reports and comparison

Export JSON for lossless replay, JUnit for CI, or standalone HTML for a human-readable artifact. Imported reports open in read-only Replay without a connection or rerun path. Compare a candidate against a compatible baseline to see semantic regressions, improvements, changed observations, and duration deltas matched by stable case and step identity.