Interface: DiscoveredControl
Defined in: src/ai/types.ts:409
A single UI5 control discovered during page analysis.
Intent​
Represent discovered controls for AI-driven selector generation.
Capability​
Control discovery, AI page context.
Sap Module​
sap.ui.core.Control
Example​
const control: DiscoveredControl = {
id: 'mainSubmitBtn',
controlType: 'sap.m.Button',
category: 'interactive',
visible: true,
text: 'Submit',
};
Properties​
category​
readonlycategory:"interactive"|"container"|"navigation"|"unknown"
Defined in: src/ai/types.ts:415
Semantic category of the control.
controlType​
readonlycontrolType:string
Defined in: src/ai/types.ts:413
Fully-qualified UI5 control type (e.g. sap.m.Button).
id​
readonlyid:string
Defined in: src/ai/types.ts:411
UI5 control ID (from control.getId()).
objectCategory?​
readonlyoptionalobjectCategory:string
Defined in: src/ai/types.ts:417
Optional object category for Fiori object-page controls.
properties?​
readonlyoptionalproperties:Record<string,unknown>
Defined in: src/ai/types.ts:423
Additional control-specific properties.
text?​
readonlyoptionaltext:string
Defined in: src/ai/types.ts:421
Display text if available (button label, input value, etc.).
visible​
readonlyvisible:boolean
Defined in: src/ai/types.ts:419
Whether the control is currently visible in the DOM.