Praman — AI-First SAP UI5 Test Automation Platform - v1.0.1
    Preparing search index...

    Interface AiGeneratedTest

    Result of AgenticHandler.generateTest() — a fully generated Playwright test.

    steps contains natural-language descriptions of each step. code contains the generated TypeScript/Playwright code. metadata carries provenance for debugging and auditing.

    Hold the output of an AI-generated Playwright test including code and provenance.

    AI test generation, agentic workflow.

    const result: AiGeneratedTest = {
    steps: ['Navigate to app', 'Fill form', 'Submit'],
    code: "test('example', async ({ ui5 }) => { ... })",
    metadata: {
    model: 'gpt-4o',
    tokens: { input: 1200, output: 340 },
    duration: 1850,
    capabilities: ['click-button', 'fill-input'],
    },
    };
    interface AiGeneratedTest {
        code: string;
        metadata: {
            capabilities: string[];
            duration: number;
            model: string;
            tokens: { input: number; output: number };
        };
        steps: string[];
    }
    Index

    Properties

    Properties

    code: string

    Generated TypeScript/Playwright test code.

    metadata: {
        capabilities: string[];
        duration: number;
        model: string;
        tokens: { input: number; output: number };
    }

    Provenance and cost metadata for the generation.

    Type Declaration

    • Readonlycapabilities: string[]

      Capability IDs referenced during generation.

    • Readonlyduration: number

      Duration in milliseconds for the LLM call.

    • Readonlymodel: string

      Model used for generation.

    • Readonlytokens: { input: number; output: number }

      Token usage breakdown.

    steps: string[]

    Natural-language description of each test step in order.