If object recognition remains slow in a .NET WinForms application after adjusting the WinForms serialization mechanism, collect WinForms tracing logs and include them in a Ranorex Support request. These logs help the Support team investigate object-recognition performance issues.
Enable WinForms tracing logs
- In Ranorex Studio, open Settings.
- Select Plugins.
- Expand WinForms.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.txtC:\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 WinForms serialization mechanism before collecting logs, see Improve Slow Object Recognition in .NET WinForms Applications.
For general recognition-performance troubleshooting, see Troubleshoot Slow Object Recognition.