Unable to identify WPF objects

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
vamsi
Posts: 14
Joined: Thu Dec 11, 2014 12:17 pm

Unable to identify WPF objects

Post by vamsi » Tue Feb 24, 2015 10:09 am

Hi,

I am trying to automate an application which was developed using WPF, but i am unable to identify the objects, i get a pop up message showing

"Failed to load the assemblies containing the definition of this control. UI element identification capabilities for this control are limited. Failed assemblies:
D:\Dev_Console\bin\Debug\<Name of the dll>.Wpf.dll"

regards,
Vamsi

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Unable to identify WPF objects

Post by Support Team » Wed Feb 25, 2015 5:48 pm

Hi Vamsi,

May I ask you which Ranorex version you are using?
Is the D drive a network drive or a local one?
Do you have administrative privileges on the machine where you execute your Ranorex tests?
Have you already tried to start Ranorex as administrator by right clicking and selecting "Run as administrator"?
Please also make sure that UAC is on the lowest level.

Regards,
Markus

vamsi
Posts: 14
Joined: Thu Dec 11, 2014 12:17 pm

Re: Unable to identify WPF objects

Post by vamsi » Thu Feb 26, 2015 8:01 am

Version: Ranorex 4.1.4
D drive is local one
Yes we have administrator privileges.
Why is it that we have to reduce UAC to lowest level? You want me to turn it off?

regards,
Vamsi

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Unable to identify WPF objects

Post by Support Team » Fri Feb 27, 2015 6:39 pm

Hi Vamsi,

Yes, please give it a try and turn UAC off.
Ranorex needs the rights to load other DLLs and the UAC could prevent Ranorex from successfully loading them.
Have you already tried to start it by right clicking and selecting "Run as administrator"?
Furthermore, please update to 5.X since 4.X is quite old and we fixed many things in the meantime ;).

Regards,
Markus

vamsi
Posts: 14
Joined: Thu Dec 11, 2014 12:17 pm

Re: Unable to identify WPF objects

Post by vamsi » Fri Mar 13, 2015 10:40 am

I have tried the suggestions but no positive result getting the same issue.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Unable to identify WPF objects

Post by Support Team » Mon Mar 16, 2015 3:26 pm

Hi vamsi,

Have you tried it with the current Ranorex version, which is 5.3?
Since we introduced our new WPF plugin with this version I would really recommend to try it with this version.

Thanks,
Markus