Ranorex support for .NET 6

Ask general questions here.
MichaelColclough
Posts: 6
Joined: Thu Jul 28, 2022 5:53 pm

Ranorex support for .NET 6

Post by MichaelColclough » Thu Nov 03, 2022 9:48 am

Hi All
Does Ranorex officially support testing of applications built using .NET 6.0? Has anyone had experience of trying this?
I ask because I am trying to get a simple Win Forms application that worked fine with Ranorex when it was built targeting .NET Framework 4.80 to work with Ranorex when built targeting .NET 6.0 and am encountering difficulties. Ranorex still finds all the UI objects within the application but does not find all the properties of the objects. It finds some propeties, for instance AutomationId, but does not find others such as ControlName, ControlTypeName, DisplayRectangle etc.
I have searched this forum for posts relating to Ranorex support for .NET 6, and I find some reporting performance problems, which is concerning, but nothing about my more fundamental problem of properties not being recognised

thanks in advance for any advice

Michael

charleyrobertson
Posts: 8
Joined: Thu Sep 29, 2022 4:33 pm

Re: Ranorex support for .NET 6

Post by charleyrobertson » Tue Nov 08, 2022 12:13 pm

Hi Micheal,

Have you tried to launch the spy (64-bit) as administrator or are you using the spy from inside ranorex?
Sometimes with Winforms, you need to click the page a few times before elements will load into the spy, if you try it and it is doing this then you can create a method that will do it automatically so that the spy refreshes.

Charley