Interface: DiscoveredControl
A single UI5 control discovered during page analysis.
Intent
Represent discovered controls for AI-driven selector generation.
Capability
pramanAI.discoverPage
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:"unknown"|"interactive"|"container"|"navigation"
Semantic category of the control.
controlType
readonlycontrolType:string
Fully-qualified UI5 control type (e.g. sap.m.Button).
id
readonlyid:string
UI5 control ID (from control.getId()).
objectCategory?
readonlyoptionalobjectCategory?:string
Optional object category for Fiori object-page controls.
properties?
readonlyoptionalproperties?:Record<string,unknown>
Additional control-specific properties.
text?
readonlyoptionaltext?:string
Display text if available (button label, input value, etc.).
visible
readonlyvisible:boolean
Whether the control is currently visible in the DOM.