Ranorex not recognize third-party components - TreeViewAdv

Ask general questions here.
rise51
Posts: 5
Joined: Thu Sep 26, 2013 10:04 am

Ranorex not recognize third-party components - TreeViewAdv

Post by rise51 » Fri Sep 27, 2013 7:36 am

Ranorex not recognize third-party components - TreeViewAdv
Such as: the container has a menu tree, spy can only target element, can not locate the tree menu.
Who encounter such problems, give solutions?
Who knows what plug-ins can help locate, Give me a plug-in links, so thanks

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

Re: Ranorex not recognize third-party components - TreeViewAdv

Post by Support Team » Fri Sep 27, 2013 2:49 pm

Hello,

Please take a look at the following post that could refer to your issue:
http://www.ranorex.com/forum/accessibil ... t3041.html

Could you please post or send us ([email protected]) a Ranorex Snapshot of your application?
Please take a look at our User Guide for more information about how to create Ranorex Snapshot files.

Thanks in advance.

Regards,
Markus (T)
.
Image

rise51
Posts: 5
Joined: Thu Sep 26, 2013 10:04 am

Re: Ranorex not recognize third-party components - TreeViewAdv

Post by rise51 » Tue Oct 08, 2013 10:22 am

Thanks for your answer.
I tried to use Ranorex 4.0.2,this issue still.
there is snapshot file attached.
Attachments
treeView.rxsnp
treeSnapshotfile
(225.69 KiB) Downloaded 151 times

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

Re: Ranorex not recognize third-party components - TreeViewAdv

Post by Support Team » Thu Oct 10, 2013 1:17 pm

Hello,

Thank you for your snapshot.

Unfortunately, this specific control 'Aga.Controls.TreeView' doesn't provide any accessibility by default.
Therefore, Ranorex and other automation tools couldn't access underlying TreeItems.
If you have access to the source code, you might be able to modify the Tree in order support accessibility.

Thank you for your understanding.

Regards,
Markus (T)
.
Image

rise51
Posts: 5
Joined: Thu Sep 26, 2013 10:04 am

Re: Ranorex not recognize third-party components - TreeViewAdv

Post by rise51 » Fri Oct 11, 2013 7:13 am

hi,
Thanks for your quick response.
i can access to the source code,i donot know how to modify.
Please provide detailed information about it.

Thanks.

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

Re: Ranorex not recognize third-party components - TreeViewAdv

Post by Support Team » Mon Oct 14, 2013 4:35 pm

Hello,

We currently provide a blog about Enabling automation for 3rd party controls by adding accessibility.
This blog uses the specific TreeViewAdv control in order to describe necessary steps to enable automation.
Additionally, you will find sample source code that you could use for your own implementation.

Please let me know if you need further information.

Regards,
Markus (T)
.
Image

rise51
Posts: 5
Joined: Thu Sep 26, 2013 10:04 am

Re: Ranorex not recognize third-party components - TreeViewAdv

Post by rise51 » Wed Oct 16, 2013 7:06 am

Hallo,

thanks a lot for your answer. It helps me very much.

Regards

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

Re: Ranorex not recognize third-party components - TreeViewAdv

Post by Support Team » Thu Oct 17, 2013 3:54 pm

Hello,

You are welcome :-)

Regards,
Markus (T)
.
Image

cro117
Posts: 2
Joined: Fri Jan 16, 2015 3:56 pm

Re: Ranorex not recognize third-party components - TreeViewAdv

Post by cro117 » Fri Jan 16, 2015 4:07 pm

I'd like to raise this post again.

I downloaded the sample app from the mentioned blog post, yet I am not able to access the tree view elements in Ranorex spy on my computer (Windows 7).

On other devices or even VM's (using the same Windows 7 edition) everything works fine.

Do you have any idea, what could be wrong on my side? I tried started both processes as the same user, running them as administrator, copying the executables in the same directory, yet still I had no success.

My Ranorex version is 5.2.1.20895 and I use Windows 7 Enterprise SP1. I also attached a snapshot.

Any help or further ideas are greatly appreciated.
Attachments
TreeViewDemo.rxsnp
(19.01 KiB) Downloaded 54 times

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

Re: Ranorex not recognize third-party components - TreeViewAdv

Post by Support Team » Mon Jan 19, 2015 1:14 pm

Hello cro117,

May I ask you to contact [email protected] in order to find a solution for your issue?

Regards,
Robert
.
Image

cro117
Posts: 2
Joined: Fri Jan 16, 2015 3:56 pm

Re: Ranorex not recognize third-party components - TreeViewAdv

Post by cro117 » Tue Jan 27, 2015 6:01 pm

Dear Robert,

thanks for your kind offer - after a lot of tinkering it turned out I had to recompile the sample using a specific platform configuration (x86) and when using the corresponding Ranorex Spy program (32 bit) it works as expected.

I have no idea why the "any" configuration does not work on my machine, however I got the sample up and running now.

Best regards.

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

Re: Ranorex not recognize third-party components - TreeViewAdv

Post by Support Team » Wed Jan 28, 2015 10:38 am

Hello cro117,

I'm glad that you were able to overcome the issue.

Regards,
Robert
.
Image