@jtable(headers = @findby(css = ".public_fixedDataTable_header [class = 'cellContent']"),
root = @findby(css = ".fixedDataTableLayout_rowsContainer"),
cell = @findby(xpath = "((//[contains(@Class, 'public_fixedDataTable_bodyRow')])[{0}]//*[contains(@Class, 'cellContent')])[{1}]"),
header = {"1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"})
public Table table2;
See the log:
56:08.203 INFO: Get value for Cell 'Cell' (Table.Cell; By.cssSelector: .fixedDataTableLayout_rowsContainer; xpath='((//[contains(@Class, public_fixedDataTable_bodyRow)])[1]//[contains(@Class, cellContent)])[1]')
As you can see single quotation marks are ignored. In that case locator finds - HEAD HTML element
@jtable(headers = @findby(css = ".public_fixedDataTable_header [class = 'cellContent']"),
root = @findby(css = ".fixedDataTableLayout_rowsContainer"),
cell = @findby(xpath = "((//[contains(@Class, 'public_fixedDataTable_bodyRow')])[{0}]//*[contains(@Class, 'cellContent')])[{1}]"),
header = {"1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"})
public Table table2;
See the log:
56:08.203 INFO: Get value for Cell 'Cell' (Table.Cell; By.cssSelector: .fixedDataTableLayout_rowsContainer; xpath='((//[contains(@Class, public_fixedDataTable_bodyRow)])[1]//[contains(@Class, cellContent)])[1]')
As you can see single quotation marks are ignored. In that case locator finds - HEAD HTML element