Page 1 of 1

UI-element recognition slow after Windows 10 update 1903

Posted: Tue May 28, 2019 12:22 pm
by mats
After installing the latest big update Windows 10, version 1903, the UI-element recognition is very slow.
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  
Log output for Ranorex 8.3.0, Win10 x64 Enterprice 1903:

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
Repo Items:

Code: Select all

FormNotepadPlusPlus =	/form[@processname='notepad++']
ButtonNeu =		?/?/toolbar[@class='ToolbarWindow32']/button[1]
Sample code:

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));

Re: UI-element recognition slow after Windows 10 update 1903

Posted: Mon Jun 03, 2019 11:20 am
by Support Team
Dear all,

We are in contact with this customer directly via our support system. If anyone encounters the same issue, then please post here and we will let you know what the solution to the specific customers issue was.

Sincerely,
Tomaž

Re: UI-element recognition slow after Windows 10 update 1903

Posted: Fri Jun 07, 2019 8:03 am
by mats
The Problem can be solved by starting Ranorex Studio NOT as administrator.
-> No debugging in this mode.