• 升级新版本以后再换回旧版本不能关联关键字了,而且从 cmd 里面打开里面一堆错
    Traceback (most recent call last):
    File "D:\Python27\lib\site-packages\wx-2.8-msw-unicode\wx_core.py", line 1466
    9, in
    lambda event: event.callable(*event.args, **event.kw) )
    File "D:\Python27\lib\site-packages\robotide\editor\gridcolorizer.py", line 52
    , in _coloring_task
    self._colorize_cell(row, col, selection_content)
    File "D:\Python27\lib\site-packages\robotide\editor\gridcolorizer.py", line 58
    , in _colorize_cell
    cell_info = self._controller.get_cell_info(row, col)
    File "D:\Python27\lib\site-packages\robotide\controller\macrocontrollers.py",
    line 170, in get_cell_info
    return steps[row].get_cell_info(col)
    File "D:\Python27\lib\site-packages\robotide\controller\stepcontrollers.py", l
    ine 81, in get_cell_info
    content = self._get_content_with_type(col, position)
    File "D:\Python27\lib\site-packages\robotide\controller\stepcontrollers.py", l
    ine 158, in _get_content_with_type
    if self.is_user_keyword(value):
    File "D:\Python27\lib\site-packages\robotide\controller\stepcontrollers.py", l
    ine 195, in is_user_keyword
    return self.parent.is_user_keyword(value)
    File "D:\Python27\lib\site-packages\robotide\controller\macrocontrollers.py",
    line 176, in is_user_keyword
    return self.datafile_controller.is_user_keyword(value)
    File "D:\Python27\lib\site-packages\robotide\controller\filecontrollers.py", l
    ine 192, in is_user_keyword
    return WithNamespace.is_user_keyword(self, self.datafile, value)
    File "D:\Python27\lib\site-packages\robotide\controller\basecontroller.py", li
    ne 97, in is_user_keyword
    return self._namespace.is_user_keyword(datafile, value)
    File "D:\Python27\lib\site-packages\robotide\namespace\namespace.py", line 177
    , in is_user_keyword
    return bool(self.find_user_keyword(datafile, kw_name))
    File "D:\Python27\lib\site-packages\robotide\namespace\namespace.py", line 173
    , in find_user_keyword
    kw = self.find_keyword(datafile, kw_name)
    File "D:\Python27\lib\site-packages\robotide\namespace\namespace.py", line 195
    , in find_keyword
    self._context_factory)
    File "D:\Python27\lib\site-packages\robotide\namespace\namespace.py", line 473
    , in get_keywords_cached
    datafile, context_factory.ctx_for_datafile(datafile))
    File "D:\Python27\lib\site-packages\robotide\namespace\namespace.py", line 382
    , in get_keywords_from
    self._get_imported_resource_keywords(datafile, ctx) +
    File "D:\Python27\lib\site-packages\robotide\namespace\namespace.py", line 428
    , in _get_imported_resource_keywords
    ctx)
    File "D:\Python27\lib\site-packages\robotide\namespace\namespace.py", line 405
    , in _collect_kws_from_imports
    kws.extend(getter(imp, ctx))
    File "D:\Python27\lib\site-packages\robotide\namespace\namespace.py", line 438
    , in _res_kw_recursive_getter
    kws.extend(self._res_kw_recursive_getter(child, ctx))
    File "D:\Python27\lib\site-packages\robotide\namespace\namespace.py", line 438
    , in _res_kw_recursive_getter
    kws.extend(self._res_kw_recursive_getter(child, ctx))
    File "D:\Python27\lib\site-packages\robotide\namespace\namespace.py", line 438
    , in _res_kw_recursive_getter
    kws.extend(self._res_kw_recursive_getter(child, ctx))
    File "D:\Python27\lib\site-packages\robotide\namespace\namespace.py", line 439
    , in _res_kw_recursive_getter
    kws.extend(self._get_imported_library_keywords(res, ctx))
    File "D:\Python27\lib\site-packages\robotide\namespace\namespace.py", line 400
    , in _get_imported_library_keywords
    self._lib_kw_getter, ctx)
    File "D:\Python27\lib\site-packages\robotide\namespace\namespace.py", line 405
    , in _collect_kws_from_imports
    kws.extend(getter(imp, ctx))
    File "D:\Python27\lib\site-packages\robotide\namespace\namespace.py", line 413
    , in _lib_kw_getter
    return self._lib_cache.get_library_keywords(name, args, alias)
    File "D:\Python27\lib\site-packages\robotide\namespace\cache.py", line 77, in
    get_library_keywords
    [k.with_alias(alias) for k in self._get_library(name, args)]
    File "D:\Python27\lib\site-packages\robotide\namespace\cache.py", line 61, in
    _get_library
    if time.time() - last_updated > 10.0:
    TypeError: unsupported operand type(s) for -: 'float' and 'unicode'
    Traceback (most recent call last):
    File "D:\Python27\lib\site-packages\robotide\editor\tooltips.py", line 42, in
    OnShowToolTip
    content = self._grid.get_tooltip_content()
    File "D:\Python27\lib\site-packages\robotide\editor\kweditor.py", line 137, in
    get_tooltip_content
    cell_info = self._controller.get_cell_info(cell.Row, cell.Col)
    File "D:\Python27\lib\site-packages\robotide\controller\macrocontrollers.py",
    line 170, in get_cell_info
    return steps[row].get_cell_info(col)
    File "D:\Python27\lib\site-packages\robotide\controller\stepcontrollers.py", l
    ine 81, in get_cell_info
    content = self._get_content_with_type(col, position)
    File "D:\Python27\lib\site-packages\robotide\controller\stepcontrollers.py", l
    ine 158, in _get_content_with_type
    if self.is_user_keyword(value):
    File "D:\Python27\lib\site-packages\robotide\controller\stepcontrollers.py", l
    ine 195, in is_user_keyword
    return self.parent.is_user_keyword(value)
    File "D:\Python27\lib\site-packages\robotide\controller\macrocontrollers.py",
    line 176, in is_user_keyword
    return self.datafile_controller.is_user_keyword(value)
    File "D:\Python27\lib\site-packages\robotide\controller\filecontrollers.py", l
    ine 192, in is_user_keyword
    return WithNamespace.is_user_keyword(self, self.datafile, value)
    File "D:\Python27\lib\site-packages\robotide\controller\basecontroller.py", li
    ne 97, in is_user_keyword
    return self._namespace.is_user_keyword(datafile, value)
    File "D:\Python27\lib\site-packages\robotide\namespace\namespace.py", line 177
    , in is_user_keyword
    return bool(self.find_user_keyword(datafile, kw_name))
    File "D:\Python27\lib\site-packages\robotide\namespace\namespace.py", line 173
    , in find_user_keyword
    kw = self.find_keyword(datafile, kw_name)
    File "D:\Python27\lib\site-packages\robotide\namespace\namespace.py", line 195
    , in find_keyword
    self._context_factory)
    File "D:\Python27\lib\site-packages\robotide\namespace\namespace.py", line 473
    , in get_keywords_cached
    datafile, context_factory.ctx_for_datafile(datafile))
    File "D:\Python27\lib\site-packages\robotide\namespace\namespace.py", line 382
    , in get_keywords_from
    self._get_imported_resource_keywords(datafile, ctx) +
    File "D:\Python27\lib\site-packages\robotide\namespace\namespace.py", line 428
    , in _get_imported_resource_keywords
    ctx)
    File "D:\Python27\lib\site-packages\robotide\namespace\namespace.py", line 405
    , in _collect_kws_from_imports
    kws.extend(getter(imp, ctx))
    File "D:\Python27\lib\site-packages\robotide\namespace\namespace.py", line 438
    , in _res_kw_recursive_getter
    kws.extend(self._res_kw_recursive_getter(child, ctx))
    File "D:\Python27\lib\site-packages\robotide\namespace\namespace.py", line 438
    , in _res_kw_recursive_getter
    kws.extend(self._res_kw_recursive_getter(child, ctx))
    File "D:\Python27\lib\site-packages\robotide\namespace\namespace.py", line 438
    , in _res_kw_recursive_getter
    kws.extend(self._res_kw_recursive_getter(child, ctx))
    File "D:\Python27\lib\site-packages\robotide\namespace\namespace.py", line 439
    , in _res_kw_recursive_getter
    kws.extend(self._get_imported_library_keywords(res, ctx))
    File "D:\Python27\lib\site-packages\robotide\namespace\namespace.py", line 400
    , in _get_imported_library_keywords
    self._lib_kw_getter, ctx)
    File "D:\Python27\lib\site-packages\robotide\namespace\namespace.py", line 405
    , in _collect_kws_from_imports
    kws.extend(getter(imp, ctx))
    File "D:\Python27\lib\site-packages\robotide\namespace\namespace.py", line 413
    , in _lib_kw_getter
    return self._lib_cache.get_library_keywords(name, args, alias)
    File "D:\Python27\lib\site-packages\robotide\namespace\cache.py", line 77, in
    get_library_keywords
    [k.with_alias(alias) for k in self._get_library(name, args)]
    File "D:\Python27\lib\site-packages\robotide\namespace\cache.py", line 61, in
    _get_library
    if time.time() - last_updated > 10.0:
    TypeError: unsupported operand type(s) for -: 'float' and 'unicode'

  • 表格没以前好看了,间距变大了

  • 你先用 select frame 以后再用 log source 试试,能打印出来的源代码,另外你用 python +selenium 是怎么打印出来的呢?

  • 你定位到 frame,能拿到 frame 里面的内容不就可以了么,干嘛纠结 src 的值!