Skip to main content
Version: 1.x

Interface: AgentPlanStep

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

A single step in an agent test plan scenario.

Intent

Describe one atomic user action for test generation.

Example

const step: AgentPlanStep = {
index: 1,
description: 'Click the Create BOM button in the toolbar',
action: 'press',
controlId: 'createBtn',
controlType: 'sap.m.Button',
pramanMethod: "ui5.control({ controlType: 'sap.m.Button', properties: { text: 'Create BOM' } }).press()",
};

Properties

action

readonly action: string

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

Action verb (e.g. 'press', 'setValue', 'navigate').


controlId?

readonly optional controlId: string

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

UI5 control ID targeted by this step, if applicable.


controlType?

readonly optional controlType: string

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

Fully-qualified UI5 control type, if applicable.


description

readonly description: string

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

Human-readable description of this step.


index

readonly index: number

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

1-based step index within the scenario.


pramanMethod?

readonly optional pramanMethod: string

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

Praman fixture method call for this step, if applicable.