Similar to Evaluate XPath... but for Appium's iOS Class Chains.
- Open an XML document with XCUI Elements
- Go to Tools > XML Actions > Evaluate iOS Class Chain (Ctrl+Alt+C, E)
- Enter a query into the text box, and evaluate
- See number of matching results
Note: If you want to run iOS Predicates, then wrap your query in $
- XCUIElement Direct children
- **/XCUIElement Descendant children
- XCUIElement[2] Nth child
- XCUIElement[$name == "Joe"$] Select elements with predicate matching descendant children
- XCUIElementTypeCell/XCUIElementTypeOther/**/XCUIElementTypeStaticText Select by path
- AND, OR
- ==, !=
-
Using IDE built-in plugin system:
Settings/Preferences > Plugins > Marketplace > Search for "ioscc-evaluator" > 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.