The dump editor helps you to select the correct way to identify elements in your application UI.
The supported flow enables you to save a different snapshot of your application on different pages. Those pages are saved in your project under 'pages' folder and are made available for you for future use.
To create a 'dump' you need to first open a device and view it in the 'Devices' view.
Click on the 'Dump UI' icon ().
Provide a name for the page.
Once saved, an editor page will open with a 'Dump Properties' view.
In this example below 'Username' element is selected so its properties are displayed in the screenshot.
When selecting an element in the 'Dump' editor UI, the 'Dump Properties' view will change accordingly.
The 'Dump Properties' view contains a tree view of the UI elements at the bottom, and all of the properties that can be used to identify the selected UI element at the top.
You will see the properties that are unique to the specific page in pink.
You can use the toolbar above the tree filter all the elements matching a certain XPath or containing a certain text. You can scroll through all elements matching the filter using the buttons or pick an element with a specific index.
The main usage for the 'Dump Properties' view would be to select the properties that you would like to use, then click on 'Add to Repository' icon ().
Provide a name to the created object.
An entry will be added to your project repository and can be seen in the 'Repository' view.
You can drag the selected properties into the 'Repository' view to add new elements to the repository.