Help finding table cell using locator after tableCellAddress finds the cell
- by Greg Weinman
Hi All,
I have a JSP page populated by javascript resulting in a typical table element cascade . After population I see the text I want using
getTable("tableLister.listTable.1.1")
The table also has a class=clsDisplayTableBody.
I want to click the check box in column 0 for the row of interest. However, all of these tests fail
isElementPresent("//*[text()="+cellContents+"]/../td[0]"))
isElementPresent("//table[@class='clsDisplayTableBody']//tr[1]/td[0]"))
isElementPresent("css='clsDisplayTableBody' tr:nth-child(1) td:nth-child(0)"))
isElementPresent("//xpath=id('tableLister.listTable')/descendant::tr[1]/descendant::td[0]"))
isElementPresent("//table[@id='tableLister.listTable']//tbody/tr[1]/td[0]"))
isElementPresent("//table[@id='tableLister.listTable']//tr[1]/td[0]"))
Is there anything else I could try?
Regards,
Greg Weinman