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

    Interface UI5Selector

    UI5 control selector — the primary type for control discovery.

    All selector fields are optional; at least one must be provided for a valid query. The ancestor and descendant fields are recursive for hierarchical matching.

    import type { UI5Selector } from '#core/types/selectors.js';

    const selector: UI5Selector = {
    controlType: 'sap.m.Button',
    properties: { text: 'Save' },
    };
    interface UI5Selector {
        ancestor?: UI5Selector;
        bindingPath?: Readonly<Record<string, string>>;
        controlType?: string;
        descendant?: UI5Selector;
        i18NText?: Readonly<Record<string, string>>;
        id?: string | RegExp;
        interaction?: UI5Interaction;
        properties?: Readonly<Record<string, unknown>>;
        searchOpenDialogs?: boolean;
        viewId?: string;
        viewName?: string;
    }
    Index

    Properties

    ancestor?: UI5Selector

    Recursive ancestor selector — control must be inside a matching ancestor.

    bindingPath?: Readonly<Record<string, string>>

    OData binding path matchers for data-bound controls.

    controlType?: string

    UI5 fully qualified control type, e.g., 'sap.m.Button'.

    descendant?: UI5Selector

    Recursive descendant selector — control must contain a matching descendant.

    i18NText?: Readonly<Record<string, string>>

    i18n text matchers (property name to expected translated value).

    id?: string | RegExp

    Control ID or RegExp pattern for ID matching.

    interaction?: UI5Interaction

    Sub-control interaction target (idSuffix, domChildWith).

    properties?: Readonly<Record<string, unknown>>

    Key-value property matchers evaluated against control.getProperty().

    searchOpenDialogs?: boolean

    When true, also searches controls inside open dialogs/popovers.

    viewId?: string

    Owning view ID for scoped discovery.

    viewName?: string

    Owning view name for scoped discovery.