-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Improve embedded keyword logging in output.xml #3750
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
Comments
Do I get it right that you'd like to store the original name of the keyword somewhere? Would it need to be in logs or would having it only in output.xml be enough? I guess it could be added as a new attribute to the A problem with adding info like this to output.xml is that its size will be increased. If this is done only with keywords using embedded arguments, that shouldn't be too big a problem, though. |
Hi @pekkaklarck, You are exactly right. This argument could be only logged when keyword is embedded keyword, otherwise keyword definition, or however this attribute is called, would be the same as name/longname and skipped. Storing it in output.xml is enough for me, but maybe, using DEBUG/TRACE level, and storing in log.html, would be useful for others. Last, but not least, did I get to right places, where changes should be applied first? |
I think this is a good idea and assigned this issue tentatively to RF 4.0 scope. I also commented the PR with changes that should still be done. |
The |
Embedded keywords are great improvement when comes to testcases readability, but can be cumbersome when debugging logs and processing them.
Having following keyword:
will be processed in both log.html and output.xml as either
Add 1 To 2
orAdd ${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:
but I believe, it's a tip of an iceberg. Any help and advice would be much appriciated.
The text was updated successfully, but these errors were encountered: