Appium - Android Method Invokation

Hi Guys,

Is it a way in Appium to invoke element methods from test?
So if we have the TimePicker (https://developer.android.com/reference/android/widget/TimePicker.html) , can I invoke setHour(int hour) method if I don’t want to set time from UI?

For example in Xamarin.UITest it could be used like:
app.Query(e => e.Id(“someTimePicker”).Invoke(“setHour”, 11))

Thanks in advance!

UITest? iOS moved to XCTest. Does Xamarin support it? (just wonder)

I’m not sure about XCTest, but it works with latest XCode and iOS.