mohagan9 / ioscc-evaluator

IntelliJ Plugin for evaluating iOS Class Chains

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ioscc-evaluator

Build Version Downloads Code Quality codecov

iOS Class Chain Evaluator Plugin for IntelliJ

Similar to Evaluate XPath... but for Appium's iOS Class Chains.


Usage Instructions

  1. Open an XML document with XCUI Elements
  2. Go to Tools > XML Actions > Evaluate iOS Class Chain (Ctrl+Alt+C, E)
  3. Enter a query into the text box, and evaluate
  4. See number of matching results

Note: If you want to run iOS Predicates, then wrap your query in $


Supported Class Chain Query Construction Rules

  • 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

Supported Predicate Operators

  • AND, OR
  • ==, !=

Installation

  • 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.

About

IntelliJ Plugin for evaluating iOS Class Chains


Languages

Language:Kotlin 100.0%