Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FlaUInspect (UIA2) Wrong detection of TabItems with .net6 #28

Open
ludovic-lehmann opened this issue Apr 20, 2024 · 1 comment
Open

Comments

@ludovic-lehmann
Copy link

ludovic-lehmann commented Apr 20, 2024

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

@Roemer
Copy link
Member

Roemer commented Apr 25, 2024

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 dotnet/winforms#10109). I think they have to look at it. The tab control still works great with UIA3 and .NET 6.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants