Webtable : Identifying table cell with Column Name | Selenium Forum
M
Posted on 02/12/2016
Hi Ashish,

In my application, I have a web table.
my requirement is I want to Identify table cell based on column name.
but i don't want td number to be used in xpath because location of the column varies after deploy.

tr i am fine as tr doesn't change

please see attached snap for reference,

could you please help me to write xpath.

M
Replied on 09/12/2016

You will have to used td number in it
Or you can find td number of the column name and use it - through code