Page 1 of 1

Ranorex not recognize third-party components - TreeViewAdv

Posted: Fri Sep 27, 2013 7:36 am
by rise51
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

Re: Ranorex not recognize third-party components - TreeViewAdv

Posted: Fri Sep 27, 2013 2:49 pm
by Support Team
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)

Re: Ranorex not recognize third-party components - TreeViewAdv

Posted: Tue Oct 08, 2013 10:22 am
by rise51
Thanks for your answer.
I tried to use Ranorex 4.0.2,this issue still.
there is snapshot file attached.

Re: Ranorex not recognize third-party components - TreeViewAdv

Posted: Thu Oct 10, 2013 1:17 pm
by Support Team
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)

Re: Ranorex not recognize third-party components - TreeViewAdv

Posted: Fri Oct 11, 2013 7:13 am
by rise51
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.

Re: Ranorex not recognize third-party components - TreeViewAdv

Posted: Mon Oct 14, 2013 4:35 pm
by Support Team
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)

Re: Ranorex not recognize third-party components - TreeViewAdv

Posted: Wed Oct 16, 2013 7:06 am
by rise51
Hallo,

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

Regards

Re: Ranorex not recognize third-party components - TreeViewAdv

Posted: Thu Oct 17, 2013 3:54 pm
by Support Team
Hello,

You are welcome :-)

Regards,
Markus (T)

Re: Ranorex not recognize third-party components - TreeViewAdv

Posted: Fri Jan 16, 2015 4:07 pm
by cro117
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.

Re: Ranorex not recognize third-party components - TreeViewAdv

Posted: Mon Jan 19, 2015 1:14 pm
by Support Team
Hello cro117,

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

Regards,
Robert

Re: Ranorex not recognize third-party components - TreeViewAdv

Posted: Tue Jan 27, 2015 6:01 pm
by cro117
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.

Re: Ranorex not recognize third-party components - TreeViewAdv

Posted: Wed Jan 28, 2015 10:38 am
by Support Team
Hello cro117,

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

Regards,
Robert