Dev Express Tree List

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
swmatisa
Posts: 122
Joined: Fri Aug 05, 2011 7:52 am

Dev Express Tree List

Post by swmatisa » Thu Aug 18, 2011 11:39 am

WinXP SP3 (WindowsUpdate done)
Ranorex 3.0.5
*********************************
Hello,
We use DevExpress 7.2.
With the Ranorex Spy, I find the Tree Item, but I cannot find the displayed text of the Tree Item.

Did you already see this problem?

Remark: it would be useful to have a search in the Spy to find a particular value in a node and their childrens.

Best regards
SW

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

Re: Dev Express Tree List

Post by Support Team » Thu Aug 18, 2011 12:48 pm

Hi,

Would it be possible to post us a Ranorex Snapshot of the entire tree?
How to create a Ranorex Snapshot
swmatisa wrote:Remark: it would be useful to have a search in the Spy to find a particular value in a node and their childrens.
This is already possible by using Spy and the RxPath. To getting more advanced with using the RxPath, please take a look to following blog
http://www.ranorex.com/blog/ranorexpath-tips-and-tricks

Regards,
Peter
Ranorex Team
.
Image

swmatisa
Posts: 122
Joined: Fri Aug 05, 2011 7:52 am

Re: Dev Express Tree List

Post by swmatisa » Wed Aug 24, 2011 7:09 am

Support Team wrote:
swmatisa wrote:Remark: it would be useful to have a search in the Spy to find a particular value in a node and their childrens.
This is already possible by using Spy and the RxPath. To getting more advanced with using the RxPath, please take a look to following blog
http://www.ranorex.com/blog/ranorexpath-tips-and-tricks

Regards,
Peter
Ranorex Team
I am sorry, but I didn't find a solution to search (in the Spy) in all nodes with any attribute (like a text search in an xml editor).

Thanks for your help
SW

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

Re: Dev Express Tree List

Post by Support Team » Wed Aug 24, 2011 2:26 pm

Hi,
I am sorry, but I didn't find a solution to search (in the Spy) in all nodes with any attribute (like a text search in an xml editor).
Okay in Spy you can't search for objects like you would do it with a xml editor, but you can of course search for all supported elements.
If you want to search for all existing buttons on your desktop you can add the following text (//button), or if you are searching for a button with a specific text you can also do that (//button[@text='your text'])
As Peter wrote the blog describes how you can use the RxPath to search for elements in your project view.
With the Ranorex Spy, I find the Tree Item, but I cannot find the displayed text of the Tree Item."
Can you send us a snapshot of the entire tree, or can you tell us which specific DevExpress Tree Item you are using?
It sounds to me that DevExpress missed to implement the appropriate accessibility methods.

Regards,
Markus
Ranorex Support Team
.
Image

swmatisa
Posts: 122
Joined: Fri Aug 05, 2011 7:52 am

Re: Dev Express Tree List

Post by swmatisa » Thu Aug 25, 2011 7:00 am

Support Team wrote:Hi,
Okay in Spy you can't search for objects like you would do it with a xml editor, but you can of course search for all supported elements.
If you want to search for all existing buttons on your desktop you can add the following text (//button), or if you are searching for a button with a specific text you can also do that (//button[@text='your text'])
As Peter wrote the blog describes how you can use the RxPath to search for elements in your project view.
OK, but it would be a nice feature.
Support Team wrote: Can you send us a snapshot of the entire tree, or can you tell us which specific DevExpress Tree Item you are using?
It sounds to me that DevExpress missed to implement the appropriate accessibility methods.
I already send you the snapshot and you send me this by mail:
Support Team wrote:It seems that DevExpress has written the code in a way that you won’t get the real text of the Tree Item back.
Because the XtraTreeList is based on WinForms we have checked a Tree Item with the AccExplorer (the MSAA Accesibility Explorer), because
the identification of such controls is based on MSAA. Even the AccExplorer gets the same text back.

You can try to ask them if they can fix that issue, or you can try to use the “invoke remotely” functionality
to get the text of the specific Tree Item.
Thanks for you answer. We will try with the last version of DevExpress or another grid in our next project.

Best Regards
SW