diff --git a/erp5/util/test_browser/browser.py b/erp5/util/test_browser/browser.py index dec4c2b64224d27c4b61c1ccf47a350200600689..13fad5a50e800ad3d81b553d2b13ee1191424cfa 100644 --- a/erp5/util/test_browser/browser.py +++ b/erp5/util/test_browser/browser.py @@ -306,7 +306,7 @@ class Browser(ExtendedTestBrowser): @return: C{Link} at the given line and column number @rtype: L{zope.testbrowser.interfaces.ILink} """ - xpath_str = '%s//tr[%d]//%s[%d]//a[0]' % (self.browser._listbox_table_xpath_str, + xpath_str = '%s//tr[%d]//%s[%d]//a[0]' % (self._listbox_table_xpath_str, line_number, line_number == 1 and 'th' or 'td', column_number)