Page 1 of 1

click the button in the table row

Posted: Mon Jun 03, 2019 5:46 am
by Thet Thet
Hi,
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!!

Re: click the button in the table row

Posted: Mon Jun 03, 2019 8:02 am
by odklizec
Hi,

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.