UI Testing with Xcode: How to find a button that has no title?

Viewed 6796

I have some buttons in my user interface that only display an image and no title. How can I access them during a UI Test? window.buttons["delete"].click() doesn't find the button due to lack of title. And I cannot set the title because the image has some transparency.

2 Answers
Related