Resolves a field label via vocabulary and selects an item in the matching control.
UI5 interaction handler.
Vocabulary lookup service.
Human-readable field label (e.g. 'Purchasing Org').
'Purchasing Org'
Key or visible text of the item to select.
An IntentResult<void> describing the outcome.
IntentResult<void>
Select a dropdown option by business field label.
Avoids hard-coded control IDs in test code.
import { selectOption } from '#intents/core-wrappers.js';await selectOption(ui5, vocab, 'Purchasing Org', '1000'); Copy
import { selectOption } from '#intents/core-wrappers.js';await selectOption(ui5, vocab, 'Purchasing Org', '1000');
Resolves a field label via vocabulary and selects an item in the matching control.