What problem does it solve?
This rule prevents UI component identity collisions by detecting duplicate .id('...') string parameters inside the same independent XTS engineering scope.
Core Features & Use Cases
- Detect duplicate .id() strings: Scans all source files in one independent XTS project and flags repeated .id('xxx') values.
- Project-level isolation: Treats each independent XTS project as the boundary, so duplicates are checked only within that scope.
- Actionable reporting: Produces Critical findings including first occurrence location, repeated count, and other locations to speed up remediation.
Use case: When multiple UI pages or test components reuse the same .id value within one XTS project, automated element lookup and page operations can become unreliable; use this rule to enforce uniqueness and stabilize tests.
Quick Start
Run the R020 check on your XTS project sources to receive a Critical report listing all duplicate .id('...') values and where they occur.