I have custom UITableViewCell
with some child images and labels. I have made the entire cell as a single accessible element. I have set accessibility ids to all the elements - cell and its subviews, hoping to be able to use it in the XCUITest
s.
Now, I am not able to get the image, say, using XCUIApplication().images["cell_image_acc_id"]
.
What should I do to get these elements? I am a newbie at XC ui testing. Please let me know if there is something basic that I am missing.
Thanks in advance.