For the complete documentation index, see llms.txt. This page is also available as Markdown.

Understanding Element Identifier and Attributes

Every User Interface element has one or more attributes, such as ID, Name, or XPath, that help identify it. In Avo Assure, these attributes are stored as element identifiers and used to locate the element during test execution. You can configure the Element Identifier Order to define the priority in which these identifiers are used, improving element recognition and execution reliability.

Element Identifiers for Web Application

For web application automation, Avo Assure supports the following element identifiers to locate and interact with UI elements during test execution.

  • CSS Selector: Identifies an element using CSS selector syntax based on its attributes or hierarchy.

  • ID Attribute: Identifies an element using its unique ID attribute.

  • Absolute X-Path: Locates an element using its complete path from the root of the Document Object Model.

  • Relative X-Path: Locates an element using a flexible path relative to other elements in the Document Object Model.

  • Name Attribute: Identifies an element using its name attribute.

  • Classname Attribute: Identifies an element using its class attribute.

  • Href Attribute: Identifies a hyperlink using its href (destination URL) attribute.

  • Label: Identifies an element using its associated label or displayed text.

  • Custom 1 and Custom 2: Identifies an element using user-defined custom attributes for specific application requirements.

Element Identifiers for Desktop Application

For desktop application automation, Avo Assure identifies elements using a combination of properties to ensure reliable element recognition. The desktop-specific properties map to the element identifiers as follows:

  • Class Name → Absolute XPath: Identifies an element based on its underlying control class in the desktop application.

  • Control Type → Relative XPath: Identifies an element by its control type, such as Button, Text Box, or Check Box.

  • Automation ID → ID Attribute: Identifies an element using its unique automation identifier assigned by the application.

  • Control Name → Name Attribute: Identifies an element using its displayed or assigned control name.

Note: Control Type typically remains constant. For reliable element identification, Avo Assure requires at least two additional properties that are unique and stable, such as Automation ID, Control Name, or Class Name. This combination helps accurately locate elements during test execution.

Element Identifiers for SAP Application

For SAP application automation, Avo Assure uses the following SAP-specific attributes to identify and locate elements during test execution. These attributes capture the element's hierarchy and position within the SAP user interface, enabling accurate element recognition.

  • Absolute X-path: Identifies an SAP element using its complete path within the SAP UI hierarchy.

  • Top: Specifies the vertical position of the element relative to the top of its parent window or container.

  • Left: Specifies the horizontal position of the element relative to the left side of its parent window or container.

  • Width: Specifies the width of the element in pixels.

  • Height: Specifies the height of the element in pixels.

Note: Mainframe and APIs applications do not use element identifiers. Therefore, the Element Identifier Order feature is not applicable to these application types.

Last updated