I want to find a UIView XCUIElement, but I cannot find it. This UIView is used to display certain information to the user, and I need to be able to check if it is on the screen in certain situations. I have view.userInteractionEnabled set to YES.
I tried to press the βrecordβ and select it, but it seems that it cannot be selected, since it does not write code to find it when I click it.
I tried to find it programmatically, but XCUIElementType Any and Other does not seem to find it, and I do not see a more suitable View.
I tried to set the accessibility in the storyboard, but all the availability seems to disappear when the unit test runs.
It seems to be pretty simple, so sorry if I missed something.
swift swift2 coded-ui-tests
Alex
source share