FlaUInspect icon indicating copy to clipboard operation
FlaUInspect copied to clipboard

FlaUInspect (UIA2) Wrong detection of TabItems with .net6

Open ludovic-lehmann opened this issue 10 months ago • 1 comments

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 image

We were able to reproduce the issue with FlaUInspect with a minimal application (attached). WinForms.zip

ludovic-lehmann avatar Apr 20 '24 20:04 ludovic-lehmann

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.

Roemer avatar Apr 25 '24 20:04 Roemer