How to identify custom user controls with the AutomationPeer

Ranorex Spy, Recorder, and Studio.
JessieT
Posts: 6
Joined: Tue Dec 18, 2012 11:34 am

How to identify custom user controls with the AutomationPeer

Post by JessieT » Wed Dec 19, 2012 4:19 am

Hi,

By using Ranorex spy, it cannot identify the custom user controls for Win8 Apps.

By reference the link,
http://msdn.microsoft.com/en-us/library ... l/jj219211
we added the automationPeer for all custom user controls. But not work for Ranorex spy. Any idea how to do that?

Thanks

Ranorex version: 4.0
OS version: WIn 8

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

Re: How to identify custom user controls with the AutomationPeer

Post by Support Team » Thu Dec 20, 2012 11:51 am

Hello,

Please make sure that you start 'Ranorex Spy' with administrative rights.
Furthermore, please take a look at section 'General Troubleshooting' in our User Guide.

Could you please try to identify your custom controls with 'Microsoft Inspect'?
Please take a look at 'Inspect' on MSDN.

Regards,
Markus (T)
.
Image

JessieT
Posts: 6
Joined: Tue Dec 18, 2012 11:34 am

Re: How to identify custom user controls with the AutomationPeer

Post by JessieT » Mon Dec 24, 2012 10:23 am

Hi,

Thanks for your reply.

Yes, we launch the spy with administrator rights but it cannot identify the custom controls. With the 'Inspect' , those custom controls can be identified.

Regards,
Jessie

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

Re: How to identify custom user controls with the AutomationPeer

Post by Support Team » Mon Dec 24, 2012 12:25 pm

Hello,

Thank you for reporting that issue. In order to reproduce it, we would need more information.
Is it possible to get the application to analyze the issue in more detail?
Additionally you can try to install the bug fix version 4.0.1. of Ranorex and try it again.
Thank you!

Regards,
Bernhard
.
Image

JessieT
Posts: 6
Joined: Tue Dec 18, 2012 11:34 am

Re: How to identify custom user controls with the AutomationPeer

Post by JessieT » Tue Dec 25, 2012 2:21 am

Hi,

I installed the 4.0.1, this issue still existed.

Regards,
Jessie

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

Re: How to identify custom user controls with the AutomationPeer

Post by Support Team » Thu Dec 27, 2012 11:21 am

Hi,

Is it possible to get the application to analyze the issue in more detail?
You could send it to our support mail address: [email protected].

Thanks,
Markus
.
Image