Performance problems testing .NET6 application

Bug reports.
DanielK
Posts: 1
Joined: Fri Jul 08, 2022 8:26 am

Performance problems testing .NET6 application

Post by DanielK » Fri Jul 08, 2022 12:56 pm

We are testing an application which is developed using WPF and .netFramework. Since the developement was updated from .netFramework 4.8 to .net 6 we encounter an enormous increase of the runtime of our tests. The interactions with the AuT (keypresses, button clicks, etc) seem to work the same as before, but the localization of the UI-elements takes much longer.
We did not need to change any XPaths in the repository, these were not touched throughout the update to .net 6. We have tried to use the most explicit XPaths and compared the searchtime of these against the more robust paths currently in use and both were within the same order of magnitude.
To show the extent of the increase in time:
Before updating the application to .net6 out testsuite took about 3h; now it takes 14h.