Hi Olivier, there's currently no convenient way to do that using the qooxdoo Selenium extensions. It would be trivial to add it, though, so feel free to add an enhancement bug for the Simulator contribution if you like.
In the meantime, you can use the following snippet to get the header (AKA column name): (function () { var locator = "qxh=qx.ui.table.Table"; var columnIndex = 2; var table = selenium.getQxWidgetByLocator(locator); var tableModel = table.getTableModel(); var columnArray = table.getTableColumnModel().getVisibleColumns(); return tableModel.getColumnName(columnArray[columnIndex]); })(); If you put this in a string var, change locator and columnIndex to what you want and use it as the first argument for selenium's getEval function, it will return the name of the column with the given Index. Note that this uses the currently visible table columns, which may be in a different order compared to the table model definition. Regards, Daniel Olivier ZORO-BI schrieb: > Hi, > I would like to get the Label of the Header of a column from the column. > How is it possible with Selenium? > > Cheers. > > Olivier > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > qooxdoo-devel mailing list > qooxdoo-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel