UI-element recognition slow after Windows 10 update 1903

Ask general questions here.
mats
Certified Professional
Certified Professional
Posts: 26
Joined: Tue May 18, 2010 12:58 pm

UI-element recognition slow after Windows 10 update 1903

Post by mats » Tue May 28, 2019 12:22 pm

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

User avatar
Support Team
Site Admin
Site Admin
Posts: 11963
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

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

Post by Support Team » Mon Jun 03, 2019 11:20 am

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ž
.
Image

mats
Certified Professional
Certified Professional
Posts: 26
Joined: Tue May 18, 2010 12:58 pm

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

Post by mats » Fri Jun 07, 2019 8:03 am

The Problem can be solved by starting Ranorex Studio NOT as administrator.
-> No debugging in this mode.