Optional ReadonlyancestorRecursive ancestor selector — control must be inside a matching ancestor.
Optional ReadonlybindingOData binding path matchers for data-bound controls.
Optional ReadonlycontrolUI5 fully qualified control type, e.g., 'sap.m.Button'.
Optional ReadonlydescendantRecursive descendant selector — control must contain a matching descendant.
Optional Readonlyi18i18n text matchers (property name to expected translated value).
Optional ReadonlyidControl ID or RegExp pattern for ID matching.
Optional ReadonlyinteractionSub-control interaction target (idSuffix, domChildWith).
Optional ReadonlymatchWhen true, matches controls that are subclasses of the specified controlType.
Optional ReadonlypropertiesKey-value property matchers evaluated against control.getProperty().
Optional ReadonlysearchWhen true, also searches controls inside open dialogs/popovers.
Optional ReadonlyviewOwning view ID for scoped discovery.
Optional ReadonlyviewOwning view name for scoped discovery.
UI5 control selector — the primary type for control discovery.
Remarks
All selector fields are optional; at least one must be provided for a valid query. The
ancestoranddescendantfields are recursive for hierarchical matching.When
searchOpenDialogsistrue, the selector engine also searches controls rendered inside the UI5 static area (sap.ui.core.UIArea for open dialogs, popovers, and message boxes). This is essential for interacting with dialog controls, which exist outside the main view DOM hierarchy.Example: Basic selector
Example: Searching inside open dialogs