Hi all,
we just started to write UI tests, and we want to write them programmatically, e.g. w/o recording. With the setting of Automation IDs and the corresponding Find calls, this works as expected. On the other hand - this is the same result as with Selenium and the Appium driver. So I thought I could use the TTF to get a bit further.
Now what I wanted to to is to get a content element and observe its datacontext. Is that possible? Something like
var detailsView = SutSession.MainWindow.Find.ByAutomationId("DetailsRegion").As<ContentControl>();
detailsView.DataContext.ShouldBeOfType<FlightViewModel>();
Bat as far as I can see, I only get the TTF wrapper classes as a result, getn't I?