If Ranorex Studio is recognizing elements slowly, there are a few options you can try.
- Whitelisting your application, click View > Whitelist
- Add your application to the Whitelist.
- Check resource allocation for the machine.
Verify that your machine meets the required system specifications System requirements - To verify plugin settings, go to Settings, and select the Plugins tab.
- Based on the AUT’s technology, search for the Plugin that you use to track elements(ex. Win32, WPF, etc..)
- Change settings that impact performance, such as showing all elements:
Note
If unsure which Plugin is used, track an element and open it in Spy.
Then, go to Advanced Settings and search for FlavorName
Slow Object recognition (.NET 5+ applications)
If you are experiencing slow object recognition with .NET 6+ applications using any of the WPF plugins, find the solution below:
- Update Ranorex Studio to 11.6.1+
- Verify that the WPF Plugin is being used and that the WPF.Core plugin is enabled
Settings > Plugins > WPF and WPF.Core - Run your tests and notice the improvements.
If you are experiencing issues running the test, or getting any random exceptions during runtime, you can follow these instructions:
- Go to Settings > Plugins > WPF.Core
- Set the Use a legacy serialization mechanism setting to True and click OK
- Restart the Application Under Test (AUT).
- Run the tests again
In case you are still encountering issues, you can contact our Support team and provide the new Tracing Logs that were introduced with 11.6.1+.
To do that, please follow these steps:
- Go to Settings > Plugins > WPF.Core
- Set the Enable tracing logs for the new serialization setting to True and click OK.
- Restart the Application Under Test (AUT)
- Run the test again
- The logs are collected in 2 of the following locations:
C:\Temp\Ranorex\RanorexLogs_Server.txt and C:\Temp\Ranorex\RanorexLogs_Client.txt. - Compress the files and send them to our Support team
These logs help us understand more details about any exception or error that is happening while running the tests.