FlaUInspect
FlaUInspect copied to clipboard
FlaUInspect (UIA2) Wrong detection of TabItems with .net6
After the migration of a winforms application from .net4.8 to .net6 we have many FlaUI tests failing. After analysis, we found out that the TabItems are not identified correctly in .net6. We could also reproduce this behavior with .net8
We were able to reproduce the issue with FlaUInspect with a minimal application (attached). WinForms.zip
I suspect this is a change in .NET 6.0 where there were a lot of changes in UIA. Can you post your issue in https://github.com/dotnet/winforms (like https://github.com/dotnet/winforms/issues/10109). I think they have to look at it. The tab control still works great with UIA3 and .NET 6.0.