I am automating my tests using appium. For this, I set the AutomationId of elements, and reference these in the tests.
But now I have a structure like this:
<ListView x:Name = "ResultList" ItemsSource="{Binding CurrentResults}" SelectedItem="{Binding CurrentSelection, Mode=TwoWay}" IsPullToRefreshEnabled="True">
<ListView.ItemTemplate>
<DataTemplate>
<ViewCell>
<Label Text="SomeText" AutomationId="AUTOMATE"/>
</ViewCell>
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
And in the output of appium inspector, I just see:
<XCUIElementTypeTable>
Without any children!
Why? How can I get the children to show up in appium inspector?
Thanks!