item not found with attribute automationid [10.7.0]

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
TABUI
Posts: 2
Joined: Thu Mar 23, 2023 5:49 pm

item not found with attribute automationid [10.7.0]

Post by TABUI » Tue Jun 06, 2023 10:50 am

Hi,

Yesterday, I installed the last version (10.7.0). Before, I used 10.5.1
With the new version, my items in the repository are not found during test.
In the path of my items, I use the attribute automationid (example : element[@automationid='VersionLabel'])
If I replace the attribute automationid by controlname, it's OK

can you tell me if this is a bug or if there is a particular property somewhere?

Thanks

Ahmad
Posts: 37
Joined: Tue Apr 09, 2019 7:29 am
Location: Berlin

Re: item not found with attribute automationid [10.7.0]

Post by Ahmad » Tue Jun 20, 2023 9:22 am

Hi,

unfortunately I have the same error.
After the update to 10.7 Ranorex does not find some elements with AutomationID anymore (Attribute: AutomationId is empty). but the Attribute is now in Name or Controlname

TABUI
Posts: 2
Joined: Thu Mar 23, 2023 5:49 pm

Re: item not found with attribute automationid [10.7.0]

Post by TABUI » Tue Jun 20, 2023 9:31 am

Hi,
I found the solution
10.7.0 installed a new plugin
You must go in the Settings of your repository
and go in Plugins > WIN32
Put at True the Read UI Automation attributes

Ahmad
Posts: 37
Joined: Tue Apr 09, 2019 7:29 am
Location: Berlin

Re: item not found with attribute automationid [10.7.0]

Post by Ahmad » Tue Jun 20, 2023 11:15 am

Hi,

thank you very much, it solved the problem.
Thanks