When locating the correct element in mobile tests, sometimes it’s important to see the bigger picture, especially for applications with more complex screen designs. To support more reliable finds in your mobile tests, we’re happy to share that the element descriptions for tap steps are now generated with the entire application screenshot in mind.
Previously, generated element descriptions focused primarily on the element's properties. This update ensures generated element descriptions consider the larger context of the page, increasing the reliability and resiliency of tap steps in your mobile tests.
How it works
In the following example, there are several toggles on the screen. Because the generated element description now considers the entire application screenshot, mabl identifies that the target toggle is associated with the "Toggles are cool" label and reliably locates it in cloud runs.
Another layout that benefits from the full-screen context is grids with rows of similar elements. Previously, the generated description would focus on the properties of the element itself, such as "Purple tile with text Pet". Now, mabl generates a description that includes the tile's grid position, thereby ensuring reliable replay in the cloud.
Learn more
To learn more about how mabl finds elements in mobile tests, check out the docs: