What is an Element
Element refers to a UI field or control available in a page (Context). Before you can write any automated logic for an element, it must be saved in the repository. When you capture a View, ACCELQ analyzes the web page and saves metadata so that you can analyze elements when needed.
Element Repository consists of all the elements that are currently added to the Context. It allows you to manage element properties and selectors. Element Repo belonging to a Context is shared with all Actions that originate from this context.
Adding Element to Repository
To add an element to the repository of a Context, open the view which contains the element you are interested in.
When you hover on the view canvas, rectangular areas are drawn identifying the element falling in the current cursor position. Right-click on the rectangular area to access the contextual menu.
In the context menu, select "Add to Repository". This brings up Element Explorer which displays the attributes specific to the element. You work with these attributes to set up the Element Identification criteria.
Refer to this article for comprehensive guidance on locating the required element on the canvas.
Switch-Element from Element Explorer
In case you opened the element explorer for an element and realize you need to switch to another element in the hierarchy without closing the explorer, you can switch-element in explorer.
Navigate in the nodes on the DOM tree representation (left side) and click on the desired node. If this is the node you want to work with, click on the small "switch to" icon in the top right corner of the attribute section.