Check a WORKORDER Automation Script against a Maximo/MAS lens (Automation Script Test Harness)
test_automation_script_evidenceStatically check a WORKORDER Object launch point Automation Script (Jython or JavaScript) against one release lens's real MXAPIWODETAIL dictionary. Extracts every attribute the script references via mbo.getString/setValue/isNull/getInt/getDate/getBoolean, then reports which ones the named lens has evidence for. Static evidence only — it does not run the script. A missing attribute is reported NOT_ASSESSED, never claimed as a runtime failure; for a real pass/fail/skip verdict, run the CLI (mvn verify) or the browser runner at assetize.com.au/test-stubs/automation-scripts. Lenses: 761 (Maximo 7.6.1), mas811 (MAS 8.11), mas90 (MAS 9.0), mas91 (MAS 9.1), mas92 (MAS 9.2).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lens | Yes | The target release lens. | |
| source | Yes | The Automation Script source — Jython or JavaScript, a WORKORDER Object launch point. Up to 64 KiB. |