Skip to main content
Version: 1.x

Interface: AgentPlanControlRef

Defined in: src/ai/agent-types.ts:39

Reference to a specific control used in a test plan step.

Intent

Map discovered controls to their Praman API methods for code generation.

Example

const ref: AgentPlanControlRef = {
controlId: 'createBtn',
controlType: 'sap.m.Button',
pramanMethod: "ui5.control({ controlType: 'sap.m.Button', properties: { text: 'Create' } }).press()",
};

Properties

controlId

readonly controlId: string

Defined in: src/ai/agent-types.ts:41

UI5 control ID discovered on the page.


controlType

readonly controlType: string

Defined in: src/ai/agent-types.ts:43

Fully-qualified UI5 control type (e.g. sap.m.Button).


pramanMethod

readonly pramanMethod: string

Defined in: src/ai/agent-types.ts:45

Praman fixture method call to interact with this control.