UI Surveyor plugin provides features helping designing selectors for mobile automated tests: They provide the following features:
- Evaluating selectors against XML UI snapshots
- Syntax highlighting and autocomplete for element selectors (UIAutomator selectors in Java IDEs only)
- Improved structure navigation for XML UI snapshots
Note: When using with an old IDE or Kotlin plugin, navigation bar display might be broken - XML tag names displayed without any UI element identifiers or texts (e.g. justnode
instead ofButton "ZERO"
). This is a known issue that can be fixed by updating your Kotlin plugin and/or IDE (please see KTIJ-27484 for details).
If for some reason Locate Element
tool window is not enabled, you can open it from the View menu:
All trademarks are the property of their respective owners. All company, product and service names used in this plugin description are for identification purposes only. Use of these names or brands does not imply endorsement.
-
Using IDE built-in plugin system:
Settings/Preferences > Plugins > Marketplace > Search for "surveyor-idea" > Install Plugin
-
Manually:
Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...
Plugin based on the IntelliJ Platform Plugin Template.