Page 1 of 1

Ranorex spy not detecting all the elements(Child elements are disabled)

Posted: Thu Sep 20, 2018 7:35 am
by Vivek_91
Hi,

Windows is logged in as a different user(Not Admin) and application is running as Admin. Then I launched ranorex spy to detect elements.
In this scenario ranorex spy is not able to detect all the elements. But when application and windows are running as admin then ranorex spy is able to detect all the elements. Is there any solution to handle this scenario?

Thanks,
Vivek

Re: Ranorex spy not detecting all the elements(Child elements are disabled)

Posted: Thu Sep 20, 2018 11:30 am
by odklizec
Hi,

I believe the solution is to run the Ranorex Spy/Studio as admin. Then you should be able to extract all elements from application running as admin.

Re: Ranorex spy not detecting all the elements(Child elements are disabled)

Posted: Thu Sep 20, 2018 2:23 pm
by Stub
Whenever I install Ranorex I find the shortcut on my HDD and modify its properties so it always runs as administrator.

Re: Ranorex spy not detecting all the elements(Child elements are disabled)

Posted: Thu Sep 20, 2018 10:02 pm
by jarrettmk
Did you make sure to also modify the exe for Spy to run as Admin? I ran into this issue at first as well. Studio was running as Admin but when I would open Spy it would be regular permissions.

Re: Ranorex spy not detecting all the elements(Child elements are disabled)

Posted: Fri Sep 21, 2018 8:34 am
by Stub
Lately I notice that I usually invoke Spy from within Ranorex Studio so it gets my whitelist for filtering what goes into it. I don't tend to modify the Spy shortcut itself, no.

Re: Ranorex spy not detecting all the elements(Child elements are disabled)

Posted: Mon Oct 15, 2018 1:10 pm
by Vivek_91
Thanks everyone for your response :) . I got solution for this. Actually, both(application as well as ranorex should be launched with same user permission) either both should run as admin or other user or at least ranorex should run as admin.