Hello Team,
I am using Host.local.runapplication() function. But after Execution I have found two type of Issues.
1. UI elements in your 'WPF' AUT can’t be identified issue.
2.Lineage Glue rule 'win32_child_windows' issue.
As you can see in attached snapshots.
How can I resolved these issues?
How to resolve WPF issue
How to resolve WPF issue
You do not have the required permissions to view the files attached to this post.
Re: How to resolve WPF issue
Hi,
Have you followed the suggestion form the first error? Please make sure that the test is started as Administrator. Also, have you tried to run the test from Studio, started as Administrator?
As for the second error, it's hard to say or suggest anything useful, without knowing the context. Also, you forgot to mention what version of Ranorex are you using? Please use the most recent version 10.1.1.
Have you followed the suggestion form the first error? Please make sure that the test is started as Administrator. Also, have you tried to run the test from Studio, started as Administrator?
As for the second error, it's hard to say or suggest anything useful, without knowing the context. Also, you forgot to mention what version of Ranorex are you using? Please use the most recent version 10.1.1.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
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
Re: How to resolve WPF issue
Yes, I have tried to run application as Administrator but still facing same error. I am using Ranorex 9.5.1
Re: How to resolve WPF issue
Hi,
Well, the most recent Ranorex version is 10.1.1, so it does not make sense to debug this kind of issue with outdated 9.5.1. Please update Ranorex with most recent version.
At next, please upload a Ranorex snapshot (NOT screenshot) of the problematic element. Ideally, run the Spy both as administrator and non-administrator and take two snapshots. Thanks.
Well, the most recent Ranorex version is 10.1.1, so it does not make sense to debug this kind of issue with outdated 9.5.1. Please update Ranorex with most recent version.
At next, please upload a Ranorex snapshot (NOT screenshot) of the problematic element. Ideally, run the Spy both as administrator and non-administrator and take two snapshots. Thanks.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
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
Re: How to resolve WPF issue
Hi there,
I also had a long running problem with the "UI elements can't be identified" error.
The problem for me was that, after starting my program from Ranorex, I needed a fixed delay, because the application needed time to finish initializing. Unfortunately it's not possible to do a "wait for" action there, because that already tries to access the UI, which isn't available yet.
So if your error appears directly after starting your application I can really recommend giving it some time before you access any of it's elements.
Regards,
Tam
I also had a long running problem with the "UI elements can't be identified" error.
The problem for me was that, after starting my program from Ranorex, I needed a fixed delay, because the application needed time to finish initializing. Unfortunately it's not possible to do a "wait for" action there, because that already tries to access the UI, which isn't available yet.
So if your error appears directly after starting your application I can really recommend giving it some time before you access any of it's elements.
Regards,
Tam