Open hash615 opened 10 years ago
I looked into this issue and even inspect shows the same problem. I went ahead and opened a ticket with microsoft for this since even inspect has the issue and after debugging the issue we are only getting one element back from AutomationElement.FindAll. Here is the link to the Microsoft ticket https://connect.microsoft.com/VisualStudio/feedback/details/1309895/listview-not-reporting-correct-count-when-using-uiautomation.
TestStack.White nuget version 13.3
We got a ListView in a WPF-application with two identical entries. When we want to check the count of the ListView the returned value is one. If we use two different values it works fine.
WPF-XAML:
Testcase: