Windows UI control recognition warning

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
c676228
Posts: 176
Joined: Mon Apr 06, 2015 5:40 am

Windows UI control recognition warning

Post by c676228 » Wed Oct 07, 2015 2:19 am

Hi,

In one of my windows automation(it is very slow since it is run on a VM). I always get the following warning:

This control (from process 'KMDS') seems to be a Windows Forms control, but was not recognized as such, possibly due to a security limitation. UI element identification capabilities for this control may be limited.
If this control is a WinForms control, please make sure that the automating process has the rights to access the automated application. Otherwise, please ignore this limitation.
The following website provides more information on this technology limitation:
http://www.ranorex.com/support/user-gui ... html#c3250
(This message is only shown once per report.)

In this provided URl, I noticed:
Reason #1:
The automating process (Ranorex executable) and the automated application (AUT) are not started with the same security rights, i.e. not as the same Windows user.

I always run Ranorex application as an Administrator, how can I open AUT as an administrator by using
Host.Local.OpenApplication? Or I misunderstand it?

Regards,
Betty

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Windows UI control recognition warning

Post by Support Team » Mon Oct 12, 2015 10:00 pm

Hello,

We confirmed, in a remote session, that Betty was no longer experiencing this issue.

If anyone else is having a similar issue, please try the fixes provided in the following link:

http://www.ranorex.com/support/user-gui ... html#c3250

If you are still experiencing the same issue after trying the fixes, please submit a reply to this post and we should be able to assist you.

Regards,
Hansel
.
Image

stapes
Posts: 206
Joined: Wed Sep 16, 2015 10:55 am

Re: Windows UI control recognition warning

Post by stapes » Mon Oct 19, 2015 4:20 pm

I can't see any such command: Host.Local.OpenApplication

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Windows UI control recognition warning

Post by Support Team » Thu Oct 22, 2015 7:18 am

Hello stapes,

The Ranorex API provides the method Host.Local.RunApplication() to start the application under test.

For web testing you could use the method Host.Local.OpenBrowser().

More specific information about these methods could be found in the Ranorex Documentation.

Regards,
Johannes
.
Image

Danscorpio13
Posts: 16
Joined: Wed Nov 04, 2015 11:12 am

Re: Windows UI control recognition warning

Post by Danscorpio13 » Thu Feb 22, 2018 1:12 pm

We are experiencing the same issue,
Our requirement is to run the Test on VM but failed to run a test with Runtime agent We manage to run the test after installing Ranorex Studio On VM, but it does not identify the objects. Even When we start Ranorex ad admin, we still get the security limitation alert

(The automating process does not have the required security permissions to access the process '. UI element identification capabilities for controls in that process are limited.

This control (from process 'xxxx') seems to be a Windows Forms control but was not recognized as such, possibly due to a security limitation. UI element identification capabilities for this control may be limited.
We are Installing our AUT as an administrator with Ranorex on a daily basis, however, we still get these alerts.
Really appreciate your support

Regards
Dan

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Windows UI control recognition warning

Post by Support Team » Thu Feb 22, 2018 7:04 pm

Hi Danscorpio,
Danscorpio13 wrote: Even When we start Ranorex ad admin, we still get the security limitation alert
In addition to launching Ranorex with administrative privileges, also ensure you are launching your AUT with administrative privileges as this can have an effect on object recognition. Installing the AUT as admin does not mean it will launch with administrative privileges. Additionally, did you try the seven WinForms troubleshooting steps linked in the previous post? One of these will likely resolve your issue.

I hope this helps!

Cheers,
Ned
.
Image

Danscorpio13
Posts: 16
Joined: Wed Nov 04, 2015 11:12 am

Re: Windows UI control recognition warning

Post by Danscorpio13 » Mon Feb 26, 2018 5:39 pm

Hi

It worked if I run AUT and Ranorex as a user but it does not work If I run both as an administrator. Similar issue In VM's. I have emailed support team two weeks ago still waiting for their response!

Thank You for your response
Regards
Dan

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Windows UI control recognition warning

Post by Support Team » Fri Mar 02, 2018 3:48 pm

Hello Danscorpio,

I have sent you a private message to further investigate this issue. I look forward to your reply!

Kind Regards,
Ned
.
Image

Danscorpio13
Posts: 16
Joined: Wed Nov 04, 2015 11:12 am

Re: Windows UI control recognition warning

Post by Danscorpio13 » Wed Mar 21, 2018 10:19 pm

Hi Ned

I’m
Unable to reply to your Private Message.
Regards
Dan

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Windows UI control recognition warning

Post by Support Team » Fri Mar 23, 2018 7:50 pm

Danscorpio13 wrote:I’m
Unable to reply to your Private Message.
Hmm, I tested the private messaging system today and did not experience any issues. Do you receive an error when trying to reply?

Nonetheless, please post your reply here or if you wish to discuss the matter in a private manner, please create a new support ticket here.

Thank you in advance!

Kind Regards,
Ned
.
Image