Page 1 of 1

How ranorex work with desktop app?

Posted: Wed Sep 04, 2019 6:04 pm
by IvanT
Hi. i am testing a desktop applications and i have a question.
how does ranorex read or identify elements? i have two almost identical applications and in first ranorex identify "treeitems children (as treeitems or cell)" well but in other ranorex doesn't indetify. these applications have the same interfaces

Re: How ranorex work with desktop app?

Posted: Thu Sep 05, 2019 6:47 am
by odklizec
Hi,

Please upload a Ranorex snapshot (NOT screenshot) from both apps. My guess is, that the tree implementation is slightly different in both apps, or there is used different version of tree UI component in both apps? Can you confirm with AUT developers, that the implementation of tree is exactly the same in both apps?

Re: How ranorex work with desktop app?

Posted: Thu Sep 05, 2019 5:04 pm
by IvanT
here it is

Re: How ranorex work with desktop app?

Posted: Fri Sep 06, 2019 12:48 pm
by qwertzu
hi,

In snapshot "1111" an access violation warning appears. This is most likely the reason why less elements are recognized than in the other application.
Please run Ranorex and your application as administrator.
Please also try to set your application's process to the whitelist.

regards, qwertzu

Re: How ranorex work with desktop app?

Posted: Thu Sep 12, 2019 5:59 pm
by IvanT
hi, when i run app with admin rights i have error (watch pic.) but when i run without admin rights all right.

Re: How ranorex work with desktop app?

Posted: Fri Sep 13, 2019 7:50 am
by qwertzu
Hi,

Additionally to Ranorex, you should also start your application as administrator.
You need to make sure that your application and Ranorex are started with the same privileges.

Also, try to use the whitelist feature as mentioned in my last post.

regards, qwertzu

Re: How ranorex work with desktop app?

Posted: Fri Sep 13, 2019 10:39 am
by IvanT
yeap. i run ranorex and my app as an administrator and this doesn't help. i don't see elements in treeitems :( :( :(

Re: How ranorex work with desktop app?

Posted: Fri Sep 13, 2019 11:10 am
by odklizec
Hi,

I'm afraid, this kind of issue cannot be solved without Ranorex support involvement. Please create a support ticket here:
https://www.ranorex.com/support-query/

How I understand it, the application, which does not work with Ranorex, is just a different version of the one which works? This leads me to believe that there is a difference in tree element implementation or there was used different version of tree component? Have you checked with AUT developers that there is no difference in tree element implementation?