Search code examples
xamarinxamarin.iosuitestxamarin.uitest

How do you clear text from a table cell on iOS with xamarin.UITest?


I have been trying to use:

ClearText(c => c.Class("MyCell").Index(0));

The output says:

 "Clearing text in element
  Using element matching Class("MyCell").Index(0)."

But the text stays put


Solution

  • I needed to target the "UITextField" rather than "MyCell"