I’m experiencing an issue with Appium Inspector where I’m unable to inspect the IDs of star rating elements in my iOS mobile app, which is written in SwiftUI. The IDs in question were added by the developer in the format rc_rating_star_view_<#>
, e.g. rc_rating_star_view_5
for a 5-star rating.
While the star rating elements are visible in the display area of the Appium Inspector, I’m unable to find their IDs in the XML hierarchy. I’ve checked the entire XML structure, but the IDs are nowhere to be found. Other IDs in the app are accessible, but these specific IDs are not.
I’ve verified that the IDs are present in the app’s code, and I’m able to access other elements using Appium. However, I’m stuck on this specific issue.
Additional information:
- Appium version: 7.6.0
- Mobile platform and version: iOS17.0 / iPhone 15
- Appium Inspector version: 2024.9.1
Question: Has anyone else encountered this issue, or can anyone provide guidance on how to inspect these star rating IDs in Appium Inspector?
Screenshot: