How to handle the StaticText ( <XCUIElementTypeStaticText ) in Appium

HI All,

Can Anyone suggest any solution for below issue

In iOS App some of the elements were having < XCUIElementTypeStaticText >

eg:- **< XCUIElementTypeStaticText name = “Few Items”>

Sometimes the text may change at that time script will fail
let me know how to resolve this

ask developers add accessibility ids

Is There any alternative way
Why because like this there was a lot

you can ask to set at least ids for parent items. see ‘Other’ element above your element.

ok I ll inform them