If object recognition remains slow in a .NET WPF application after adjusting the WPF serialization mechanism, collect WPF tracing logs and include them in a Ranorex Support request. These logs help the Support team investigate object-recognition performance issues.
Enable WPF tracing logs
- In Ranorex Studio, open Settings.
- Select Plugins.
- Expand WPF.Core.
- Set Enable tracing logs for the new serialization to True.
- Select Apply or OK.
Reproduce the issue
- Restart the application under test (AUT).
- Repeat the operation that causes slow object recognition, such as:
- Tracking an element in Ranorex Spy.
- Populating the element tree.
- Validating a repository item.
- Wait until the delay occurs so that the relevant diagnostic information is recorded.
Collect the log files
Collect the following files:
C:\Temp\Ranorex\RanorexLogs_Server.txt
C:\Temp\Ranorex\RanorexLogs_Client.txt
Compress both files into a ZIP archive and include it in your Ranorex Support request.
For instructions on changing the WPF serialization mechanism before collecting logs, see Improve Slow Object Recognition in .NET WPF Applications.
For general recognition-performance troubleshooting, see Troubleshoot Slow Object Recognition.