Page 1 of 1

Unable to identify WPF objects

Posted: Tue Feb 24, 2015 10:09 am
by vamsi
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

Re: Unable to identify WPF objects

Posted: Wed Feb 25, 2015 5:48 pm
by Support Team
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

Re: Unable to identify WPF objects

Posted: Thu Feb 26, 2015 8:01 am
by vamsi
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

Re: Unable to identify WPF objects

Posted: Fri Feb 27, 2015 6:39 pm
by Support Team
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

Re: Unable to identify WPF objects

Posted: Fri Mar 13, 2015 10:40 am
by vamsi
I have tried the suggestions but no positive result getting the same issue.

Re: Unable to identify WPF objects

Posted: Mon Mar 16, 2015 3:26 pm
by Support Team
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