I have an collectionview with invested ellements inside. The objects coming as images. So the problem is taping on these elements. I can`t pick elements from this window, and Accessibility Inspector showing my whole window with elements as button with missing accessibility values.
So, if I am using just Record button, then I am getting this code, but it doesn`t work to play. I still have no lables and indexes.
XCUIApplication().childrenMatchingType(.Window).elementBoundByIndex(0).childrenMatchingType(.Other).element.childrenMatchingType(.Other).element.childrenMatchingType(.Other).element.childrenMatchingType(.Other).element.childrenMatchingType(.Other).element.childrenMatchingType(.Other).element.childrenMatchingType(.Button).element.tap()
Does anyone know, how to solve this problem?
Aucun commentaire:
Enregistrer un commentaire