Failed to instrument WPF process

Bug reports.
rzavsky
Posts: 2
Joined: Mon Feb 04, 2019 9:25 am

Failed to instrument WPF process

Post by rzavsky » Mon Feb 04, 2019 9:36 am

Hello,

Some of my tests are failing because of this error "Failed to instrument WPF process. UI element identification capabilities for this window are limited. Could not set-up managed injection endpoint: Bootstrapping Ranorex Instrumentation failed. ". I found a solution where I have to remove all .NET framework installations and Ranorex. But I would like to ask, if there is any other way how to solve it?

Thanks

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 4421
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Failed to instrument WPF process

Post by odklizec » Mon Feb 04, 2019 12:32 pm

Hi,

Have you tried to run your test/Ranorex Studio as an Administrator? This often helps with similar problems.
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration