Skip to content

Print locator of invisible element in the error #769

Closed
@php-coder

Description

@php-coder

I'm running RobotFramework test in the Travis CI and it fails:

Catalog price should reject invalid values :: Verify that fields w... | FAIL |
Several failures occurred:
1) You may only interact with visible elements
Build info: version: '2.53.1', revision: 'a36b8b1cd5757287168e54b817830adce9b0158d', time: '2016-06-30 19:26:09'
System info: host: 'testing-gce-221b369a-a72a-4586-b314-3521d80c3cb3', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-103-generic', java.version: '1.8.0_111'
Driver info: driver.version: unknown
2) You may only interact with visible elements
Build info: version: '2.53.1', revision: 'a36b8b1cd5757287168e54b817830adce9b0158d', time: '2016-06-30 19:26:09'
System info: host: 'testing-gce-221b369a-a72a-4586-b314-3521d80c3cb3', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-103-generic', java.version: '1.8.0_111'
Driver info: driver.version: unknown

As you can see, there is not so much useful information because I don't see which exactly element is invisible.

If it's possible, could you include also element's location in the error message?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions