I need to set date in datepicker on iOS 10.3 using Xamarin.UITest 2.0.9
Repl crashes on attempt to get the tree but I use the following query q => q.Class("UIDatePicker") for this element.
I tried to set date using the following code
app.Query(q => q.Class("UIDatePicker").Invoke("setDate", date, false)) where date is a DateTime object, but it throws the exception:
System.Exception : Error while performing Query([unknown])
----> System.Exception : Invoking an iOS selector requires either 0 or an uneven number of arguments (they have to match up pairwise including method name).
Can anybody help me with this issue?