Skip to main content
Version: 1.x

Interface: AgentPlanControlRef

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

UI5 control ID discovered on the page.


controlType

readonly controlType: string

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


pramanMethod

readonly pramanMethod: string

Praman fixture method call to interact with this control.