I want to check if an element on my ui which start with a prefix is present. How is it possible to implement it in Xcode 7 UI Tests?
app.tables["AAA"].staticTexts["Fax: 0049XXXXXXXX"].exists
I have three element into a tableview cell and only one (the third or last one) starts with the prefix Fax: 0049. How can i check the present of this element?
I tried with
app.tables["AAA"].cells.staticTexts.elementBoundByIndex(2).exists
But nothing, some ideas? Cheers