Element Repository
Last updated
Last updated
The Element Repository was developed as a core component of the Design Studio which serve as a central workspace, enhancing usability and intuitiveness. Its organized folder structure aligns with widely recognized UI patterns, ensuring users can easily navigate and familiarize themselves with the interface. Additionally, the "Create Manually" and "Capture Elements" options were introduced to streamline the management of repository elements, offering flexibility and efficiency for users.
The goal of developing the Element Repository is to provide a centralized and intuitive workspace that simplifies the management of design elements. By incorporating a familiar folder structure and user-friendly options like "Create Manually" and "Capture Elements," the feature aims to enhance efficiency, improve usability, and enable users to seamlessly organize and access elements within the Design Studio.
The user has to navigate to the Avo Assure home screen.
The user has to select the project from the All Project list.
The user has to click on Design Studio button on the landing page.
Then, click on Create Folder button present on the element repository tab within the design studio. Give an appropriate name to the folder and hit enter key.
Note: The folder can also be create using the shortcut key Shift+F
Click on Create Repository and select the application type for which the repository of elements is to be created and give an appropriate name to repository and hit enter key.
To capture the elements, the user has to click the Capture Elements button.
The user has to select the browser from the List of Browsers and click the Capture button. The Web-Element Identification window will be displayed.
The user has to enter the URL in the URL field and click the Navigate button.
To capture the elements, the user has to select the Manual radio button and click on Capture button.
The user has to click and capture the required elements.
Once the capture elements are done, the user has to click the Stop button.
The list of all the elements captured from the AUT will be displayed on the Web-Element identification window along with the properties and respective value for the properties. Select the element checkboxes that the user wants to add to the repository and click on Add button.
All the captured elements will be displayed on the Element Repository window.
The user has to click the Save button.
The user has to click the Create Manually button in the element repository window, and the Create Element dialog box will be displayed.
The user has to enter the element name in the Element Name field.
The user has to select the element type from the Select Element Type drop-down.
The user has to enter the URL in the URL field.
The user has to enter the attribute name in the Name Attribute field.
The user has to enter at least one property, such as Relative Xpath, Class name, ID Attribute, Query Selector, Absolute Xpath, and CSS Selector.
The user has to click the Save button. To add the new element, the user has to click the "+" (Add) icon.
Repeat the process to create multiple elements.
To delete the element, the user has to click the Delete icon and click the Submit button.
The element will be created, the user has to click the Save button.
Note: to know the steps to use Avo Genius for recording test cases and creating repository refer to Avo genius doc.
1. When the test cases are recorded using Avo genius a repository is built and auto populated by Avo Genius with a unique name.
2. This repository contains all the elements captured by Avo Genius during recording in one folder only which can be renamed and manged.
3. As a best practice it is recommended to manage and built the repository as per the testing flow.
1. Select an element in the element repository by selecting the checkbox of that element on the left-hand side.
2. Click on the edit icon on the right most column of the element.
3. Double click the property that is to be edited.
4. Enter the desired value for the property.
1. Navigate to the Element Repository and select the element for which you want the change the properties order
2. Click on Element Identifier Order and drag and drop the properties in the desired order.
The import and export of element repository is now available in JSON format only. The shift to exclusively using JSON format for the import and export of the Element Repository is an enhancement as it ensures consistency, reduces complexity, and minimizes potential errors during data handling. JSON, being a structured and lightweight format, is better suited for managing hierarchical data like the element repository. It also improves compatibility with modern systems and tools, streamlining integration and making the process more efficient and reliable compared to the dual format approach.
If the user upgrades to the latest version of Avo Assure to 24.2.0, this feature will be available automatically.