Page 1 of 1

Issue reading currency data from a DevExpress TreeListEx

Posted: Thu Jul 29, 2010 11:56 pm
by Ciege
Not sure if this is an issue of Ranorex or of the implementation of the DevExpress TreeList.

I have a treelist that contains data of currencies from around the world. For example: 105,78ман. In this example the , is a decimal point not a number grouping.

When I view the treelist item from RanorexSpy I get "105.78". If I view a similar item in a text box (not a tree list item) from RanorexSpy I get back what I would expect (I.e. "211560,00ман").

Is this an issue with the way DevExpress is returning the data back through MSAA or a way that Ranorex sees the data?

See attached screen shot for the invalid cell data and the valid data.

I have also attached a RanorexSpy snapshot.

Re: Issue reading currency data from a DevExpress TreeListEx

Posted: Fri Jul 30, 2010 12:27 am
by Ciege
Just to add a bit more information.
The data returned from a DevExpress grid is as expected. It does return the proper data that is displayed in a grid cell.
So it seems that just the data that is returned from a tree list cell is incorrect.

Re: Issue reading currency data from a DevExpress TreeListEx

Posted: Fri Jul 30, 2010 4:56 pm
by Ciege
OK, so I solved this by using InvokeRemotely on the tree node and returning the .GetDisplayText of the tree node.
So I am now able to get the data that I need to continue.