Resolves a field label via vocabulary and fills the matching UI5 control.
UI5 interaction handler (structural sub-type of UI5Handler).
UI5Handler
Vocabulary lookup service.
Human-readable field label (e.g. 'Vendor').
'Vendor'
Text value to enter.
An IntentResult<void> describing the outcome.
IntentResult<void>
Returns status: 'error' (code ERR_VOCAB_TERM_NOT_FOUND) when the vocabulary cannot resolve label to a selector. No exception is thrown — the error is surfaced in the IntentResult envelope.
status: 'error'
ERR_VOCAB_TERM_NOT_FOUND
label
IntentResult
Fill a form field by business-readable label.
Decouples tests from hard-coded control IDs.
import { fillField } from '#intents/core-wrappers.js';const result = await fillField(ui5, vocabulary, 'Vendor', '100001');if (result.status === 'error') throw new Error(result.error?.message); Copy
import { fillField } from '#intents/core-wrappers.js';const result = await fillField(ui5, vocabulary, 'Vendor', '100001');if (result.status === 'error') throw new Error(result.error?.message);
Resolves a field label via vocabulary and fills the matching UI5 control.