如何使用 xamarin.UITest 清除 iOS 上 table 单元格中的文本?
How do you clear text from a table cell on iOS with xamarin.UITest?
我一直在尝试使用:
ClearText(c => c.Class("MyCell").Index(0));
输出显示:
"Clearing text in element
Using element matching Class("MyCell").Index(0)."
但文本保持不变
我需要定位 "UITextField" 而不是 "MyCell"
我一直在尝试使用:
ClearText(c => c.Class("MyCell").Index(0));
输出显示:
"Clearing text in element
Using element matching Class("MyCell").Index(0)."
但文本保持不变
我需要定位 "UITextField" 而不是 "MyCell"