I\'m trying to record some XCUITesting functions. I get this error.
Timestamped Event Matching Error: Failed to find matching element
Is t
You need to add key path value to your UI elements as below. For an example, if you are using a tableview
then select it in the Storyboard and then click on Identity Inspector
. Now enter the following value isAccessibilityElement
in the key and tick the checkbox as shown in the image below.
Also if you can't tap on the UITableViewCell or the subclasses, then enable the Accessibility option as shown below.
hereafter it should work just fine.