Skip to content

Unexpected error messages in log while test passes #5

@ikbened

Description

@ikbened

Hi,

I build a simple RF test (open new page, click on element, wait for title to contain some text) and used your selfheal library. The click action uses a css locator which I made invalid. Although the library finds a fix and my test passes, I noticed some unexpected log errors. Here is my log:

[ ERROR ] Calling method '_start_library_keyword' of listener 'SelfHealing' failed: TimeoutError: locator.evaluate: Timeout 10000ms exceeded.
Call log:
  - waiting for locator('div.navbar-end2 ul.hidden a[href="/contact"]')

SpronQ contact :: Check contact page.                                 Keyword 'Browser.Click' with arguments '['css=div.navbar-end2 ul.hidden a[href="/contact"]']' used on line 47 failed.
Re-trying Keyword 'Click' with arguments '["css=ul.hidden a[href='/contact']"]'.
[ ERROR ] Calling method '_start_library_keyword' of listener 'SelfHealing' failed: IndexError: tuple index out of range
[ ERROR ] Calling method '_start_library_keyword' of listener 'SelfHealing' failed: IndexError: tuple index out of range
[ ERROR ] Calling method '_start_library_keyword' of listener 'SelfHealing' failed: TimeoutError: locator.evaluate: Timeout 10000ms exceeded.
Call log:
  - waiting for locator('should start with')

SpronQ contact :: Check contact page.                                 | PASS |

Are these error messages supposed to appear?

Cheers,
Ed

P.s. this is my first bug report in an open source project. Pls be a little kind to me....

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions