Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Named-only arguments are not trace logged with user keywords #5128

Closed
steradjan opened this issue May 9, 2024 · 1 comment
Closed

Named-only arguments are not trace logged with user keywords #5128

steradjan opened this issue May 9, 2024 · 1 comment

Comments

@steradjan
Copy link

Hi
in robotframework==6.0.2
If arguments are given as shown on the screenshot, the values after list are not displayed in traces, but the values are processed and everything works.

This is the line

    Combobox should have options             ${EMPTY}      Range 1    Range 2     convert_unit=ovca

thumb-Clipboard - May 9, 2024 3_35 PM

@pekkaklarck pekkaklarck changed the title Traces with list are missing values in test output Named-only arguments are not trace logged with user keywords May 29, 2024
@pekkaklarck pekkaklarck added this to the v7.0.1 milestone May 29, 2024
@pekkaklarck
Copy link
Member

Thanks for the report. The problem is that named-only arguments aren't trace logged with user keywords. A simple example demonstrating the issue is below. When it's run currently, ${z}='Z' is missing from the trace log message with Keyword.

*** Test Cases ***
Example
    Keyword    X    Y1    Y2    z=Z

*** Keywords ***
Keyword
   [Arguments]  ${x}    @{y}    ${z}
   Log many    ${x}    ${y}    ${z}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants