Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Improve embedded keyword logging in output.xml #3750

Closed
@MaciejWiczk

Description

@MaciejWiczk

Embedded keywords are great improvement when comes to testcases readability, but can be cumbersome when debugging logs and processing them.

Having following keyword:

*** Test Cases ***
Add One To Two
    Add 1 To 2    

Add Two To One
    Add ${a} To ${b}

*** Variables ***
${a}    1
${b}    2

*** Keywords ***
Add ${n} To ${m}
    ${o}    Evaluate    ${n}+${m}

will be processed in both log.html and output.xml as either Add 1 To 2 or Add ${a} To ${b} while it's actual definition, Add ${n} To ${m} isn't stored in logs. It would be nice improvement, to allow to store keywords definition in addition to current keyword properties.
Such a change would allow for post processing output.xml for statistical and analytical purposes, which I'm facing in rfhub2

I found few places, which would need to be changed:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions