I am trying to select a cell in a table in a java application based on the text value. When I use the Track function on the cell, it reports the cell text incorrectly. It shows me the text from a different cell in the same column. I have tried sorting, refreshing, restarting both the application and ranorex, and the text attribute is still wrong for the cell.
Is there some trick to getting the correct text value for a cell?
I created a snapshot, but it's too big to upload, even zipped.
Tracked Cell Text Showing Text From Different Cell
-
- Posts: 43
- Joined: Tue Jun 07, 2016 9:59 pm
-
- Posts: 43
- Joined: Tue Jun 07, 2016 9:59 pm
Re: Tracked Cell Text Showing Text From Different Cell
After a couple of hours of trial and error, I found that the text values were correct if the table is sorted ascending on the first column. I added two steps - one to sort on the second column, and then sort on the first column. This ensures that the first column is sorted ascending.
Now I can use the text attribute to find an validate my data.
Now I can use the text attribute to find an validate my data.
Re: Tracked Cell Text Showing Text From Different Cell
Hi,
I think this should not happen, no matter what sorting is used? Any chance you can post a sample app, showing this problem, so Ranorex devs could take a look at this? Or at very least a Ranorex snapshot. If it's too big, use public file sharing service (like onedrive or dropbox) and here post a link. Thanks.
I think this should not happen, no matter what sorting is used? Any chance you can post a sample app, showing this problem, so Ranorex devs could take a look at this? Or at very least a Ranorex snapshot. If it's too big, use public file sharing service (like onedrive or dropbox) and here post a link. Thanks.
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
-
- Posts: 43
- Joined: Tue Jun 07, 2016 9:59 pm
Re: Tracked Cell Text Showing Text From Different Cell
I can't share the application - it is a hosted ERP solution at my work. It's a java swing application.
Here is the Ranorex snapshot, though.
https://www.dropbox.com/s/eokzbqkvbg5a7 ... rxsnp?dl=0
Here is the Ranorex snapshot, though.
https://www.dropbox.com/s/eokzbqkvbg5a7 ... rxsnp?dl=0
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Tracked Cell Text Showing Text From Different Cell
Hello karltinsly,
Thank you for reporting your issue on the forum.
This behavior indeed is strange and we have not encountered it before. Therefore, we would like to analyze this behavior.
Could you create a ticket via our support query so that we can get in touch directly? You can find our support query under the following link: Ranorex Support
We are looking forward to your ticket.
Sincerely,
Tomaž
Thank you for reporting your issue on the forum.
This behavior indeed is strange and we have not encountered it before. Therefore, we would like to analyze this behavior.
Could you create a ticket via our support query so that we can get in touch directly? You can find our support query under the following link: Ranorex Support
We are looking forward to your ticket.
Sincerely,
Tomaž