Only the first usage of a Base element is slow.
<4s with Ranorex 8.3.0 before Windows update
39s with Ranorex 8.3.0
12s with Ranorex 8.3.3
-> is there a solution for this problem (if possible without update to Ranorex 9.x)?
Log output for Ranorex 8.3.3, Win10 x64 Enterprice 1903:
Code: Select all
00:05.325 Info User start
00:05.325 Info Mouse Mouse Left Click item 'FormNotepadPlusPlus.ButtonNeu' at Center.
00:17.632 Info User click1 done
00:17.632 Info Mouse Mouse Left Click item 'FormNotepadPlusPlus.ButtonNeu' at Center.
00:18.600 Info User click2 done
Code: Select all
00:06.884 Info User start
00:06.888 Info Mouse Mouse Left Click item 'FormNotepadPlusPlus.ButtonNeu' at Center.
00:45.613 Info User click1 done
00:45.615 Info Mouse Mouse Left Click item 'FormNotepadPlusPlus.ButtonNeu' at Center.
00:48.018 Info User click2 done
Code: Select all
FormNotepadPlusPlus = /form[@processname='notepad++']
ButtonNeu = ?/?/toolbar[@class='ToolbarWindow32']/button[1]
Code: Select all
Report.Log(ReportLevel.Info, "User", "start", new RecordItemIndex(8));
Report.Log(ReportLevel.Info, "Mouse", "Mouse Left Click item 'FormNotepadPlusPlus.ButtonNeu' at Center.", repo.FormNotepadPlusPlus.ButtonNeuInfo, new RecordItemIndex(9));
repo.FormNotepadPlusPlus.ButtonNeu.Click();
Delay.Milliseconds(200);
Report.Log(ReportLevel.Info, "User", "click1 done", new RecordItemIndex(10));
Report.Log(ReportLevel.Info, "Mouse", "Mouse Left Click item 'FormNotepadPlusPlus.ButtonNeu' at Center.", repo.FormNotepadPlusPlus.ButtonNeuInfo, new RecordItemIndex(11));
repo.FormNotepadPlusPlus.ButtonNeu.Click();
Delay.Milliseconds(200);
Report.Log(ReportLevel.Info, "User", "click2 done", new RecordItemIndex(12));