Questions tagged [xcuielement]

17 questions
-1
votes
1 answer

How to verify value contains multiple strings in XCUITest

In an XCUITest (UI test), is it possible to find a label that has three substrings in it? For example, if I wanted to find a label with "contentsA", "contentsB", and "contentsC" in it, is there a wild card or some other way I tried this let…
jacobcan118
  • 7,797
  • 12
  • 50
  • 95
-1
votes
1 answer

XCUIAutomation: Click on corresponding button?

How to click on a button called Unlock from the label text LE SR Home notour. I'm new to this tool and got stuck here.
1
2