This post introduces you to a way to add identifiers in code for rows in a table. It also shows a couple of the ways you can query for a particular row.
In XCUITest automation, I arrange test code in using a Screen Object model pattern. This is based on the web's Page Object model. First, there is a group of classes which model screens on an app. Second, a group of classes contain test case functions that rely on the screen classes for instances of screen … Continue reading XCUIElement – Discovery
When writing your XCUITest UI test, it is important to provide enough data when an assertion fails so that someone looking at a test run report can most easily see what failed and begin to figure out the "why".