click the button in the table row

Ask general questions here.
Thet Thet
Posts: 27
Joined: Fri Jan 11, 2019 7:02 am

click the button in the table row

Post by Thet Thet » Mon Jun 03, 2019 5:46 am

I am trying to develop automation click for the following workflow:
1. Search a person called lili in the table.
2. click the button where lili.

The location of the clicked item changed when the data in the table will become more than or less.
First time, check the checkbox at row 5.
When the data become more, click the button at row 7 where lili is there.
How can I do that.

Thanks in advance for any help. Much appreciated!!

User avatar
Ranorex Guru
Ranorex Guru
Posts: 6795
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: click the button in the table row

Post by odklizec » Mon Jun 03, 2019 8:02 am


Please upload a Ranorex snapshot (NOT screenshot) of given table. Without, at very least, Ranorex snapshot, there is not much anyone here can do or suggest. Generally speaking, if Ranorex is able to track the cell containing the given string and the table is more or less standard table (with recognizable rows and columns), it should be possible to achieve what you want with simple xpath. But as mentioned, without seeing the snapshot, it's hard (impossible) to suggest something reliable.
Pavel Kudrys
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