Page 1 of 1

Get value of Cell in table JAVA app

Posted: Mon Jul 24, 2017 6:55 pm
by WMJala
Hi,

I have installed the Ranorex 7.1 version using the trial to verify that I can use this tool to perform automation test over my Java app.

I have a problem to get the values of cells in a table and I only get a reference to a Java Class(please see attached screenshot). I am using the record tool and the validation step to obtain the value.
Table.png
Is there any way to get the values of my table ?
CellTable.png
Thanks in advance

Regards
Walter

Re: Get value of Cell in table JAVA app

Posted: Tue Jul 25, 2017 10:06 am
by qwertzu
Hi WMJala,

I was not able to see your screenshot at first. Therefore I have to edit my post here.
It seems like the issue lies within your application since the "not wanted" value is displayed here.
As pavel writes in the post below, you should contact your developers.

regards,
qwertzu

Re: Get value of Cell in table JAVA app

Posted: Tue Jul 25, 2017 12:05 pm
by odklizec
Hi Walter,

I'm afraid, there is most probably nothing you can do about this without changing the way the table is rendered. In other words, your developers (developers of the AUT) will have to edit the table to make it display its content "properly". Please check this post, most probably related to your problem as well:
https://www.ranorex.com/forum/how-do-ra ... tml#p31787

Re: Get value of Cell in table JAVA app

Posted: Tue Jul 25, 2017 1:46 pm
by krstcs
Anyone who has ever done anything with Java tables will tell you that they are notoriously bad at presenting useful data, especially for automation.

As Pavel said, you will most likely need to get your devs to add some code to aid in automation and identification. There are usually at least a few properties in a cell that Ranorex can see, if the values are put there then you should be able to get what you need.

Re: Get value of Cell in table JAVA app

Posted: Wed Jul 26, 2017 2:07 pm
by WMJala
Thanks I will contact with my development team