Hi,
i wanna ask about the following problem which appeared when recording a scenario on eclipse:
Please open the attachment file which is a snapshot for the tree i need to access in Ranorex which made the problem. When i am trying to access element for example "r0" as in the snapshot in side the parent tree which is named "Main", the ranorex spy can't give me the ability to read the value for that element? which means it track the elemnt "r0" but in the properties for that object it didn't found its value?
Any help please as soon as possible.
Thanks a lot.
Ziyad
Ranorex tracking problem for trees inside trees
Ranorex tracking problem for trees inside trees
You do not have the required permissions to view the files attached to this post.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Ranorex tracking problem for trees inside trees
Hello Ziyad,
Getting data from Java SWT Treeviews with multiple columns is currently not supported by Ranorex.
We might add this in a future version by adding SWT support to the Java Plugin.
As a workaround, add the parent tree (Tree ' SystreeView32') to the GDI capture list in Spy
(context menu "Add class name to GDI Capture list")
You should then be able to identify the cell's content ("RawText" elements), but only if it is visible (e.g. not scrolled)
Michael
Ranorex Team
Getting data from Java SWT Treeviews with multiple columns is currently not supported by Ranorex.
We might add this in a future version by adding SWT support to the Java Plugin.
As a workaround, add the parent tree (Tree ' SystreeView32') to the GDI capture list in Spy
(context menu "Add class name to GDI Capture list")
You should then be able to identify the cell's content ("RawText" elements), but only if it is visible (e.g. not scrolled)
Michael
Ranorex Team
Re: Ranorex tracking problem for trees inside trees
Hello,
I'm sorry to open such old thread but are there some (near) plans to support the multi-column SWT Trees? I just found that such trees are still not supported? True, we can use the RawTexts, but it would require some more programing, which we would like to avoid for such simple task like reading/validating values from the java tree columns
Thank you in advance.
I'm sorry to open such old thread but are there some (near) plans to support the multi-column SWT Trees? I just found that such trees are still not supported? True, we can use the RawTexts, but it would require some more programing, which we would like to avoid for such simple task like reading/validating values from the java tree columns

Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: Ranorex tracking problem for trees inside trees
Hello odklizec,
May I ask which version of Ranorex are you using?
Can you please post a Ranorex Snapshot file of your application? It would also be helpful to have an example application in order to analyze the issue.
Thank you!
Regards,
Bernhard
May I ask which version of Ranorex are you using?
Can you please post a Ranorex Snapshot file of your application? It would also be helpful to have an example application in order to analyze the issue.
Thank you!
Regards,
Bernhard
Re: Ranorex tracking problem for trees inside trees
Hi Bernhard,
I'm using latest Rx (4.1.4). Please find the Snapshot attached to this post. Unfortunately, I can't provide you with the application as it's not released yet. But I just tested it with a simple swt tree (with multiple columns) and it does not work as well. Spy picks only the elements in first tree column. You can find the sample TestTree.jar (including source) attached to this post. Hope this helps.
I'm using latest Rx (4.1.4). Please find the Snapshot attached to this post. Unfortunately, I can't provide you with the application as it's not released yet. But I just tested it with a simple swt tree (with multiple columns) and it does not work as well. Spy picks only the elements in first tree column. You can find the sample TestTree.jar (including source) attached to this post. Hope this helps.
You do not have the required permissions to view the files attached to this post.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Ranorex tracking problem for trees inside trees
Hello odklizec,
Thank you for the *.jar file and the snapshot file.
Unfortunately there is no other workaround that GDI at the moment. I added an entry in our bug tracking system and we will discuss the issue internally. Unfortunately I cannot promise if we will support SWT in the future at this time.
Regards,
Bernhard
Thank you for the *.jar file and the snapshot file.
Unfortunately there is no other workaround that GDI at the moment. I added an entry in our bug tracking system and we will discuss the issue internally. Unfortunately I cannot promise if we will support SWT in the future at this time.
Regards,
Bernhard