Not able to handle a dynamic object
I am working on Xamarin based iOS application. I am not able to handle a dynamic window object. I am trying to logout from application. As soon as I click on SignOut, an alert comes up for confirmation of signing out. I am not able to click on Yes though my script. When I Map this Yes Action object it does not get recognized as one parent window object has dynamic index. (Object in red)
Aliases.Device.processQaA360.Window(8).AlertView().ScrollView(1).ActionView(0)
Above window object does not have enough properties to be able to get recognised uniqly. I have also added a screenshot of spy of this object.
Even Find child method is not working for me in this case. I am giving parent as "Aliases.Device.processQaA360" and then using Findchild method to retreive "ActionView(0)" object but I am getting object not found not matter what depth i go to (I have used depth as 12).
can anyone pls suggest me a resolution to this.