robotframework / robotframework/robotframework
Variable file using `BuiltIn.run_keyword` can cause output.xml to be invalid
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 11.9k
- Forks
- 2.6k
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 10
Description
This happens only if path to tests is direct path to file. If the path is to parent dir then 'suite' tag is in the output between 'robot' and 'kw' tags.
I checked in rf6.1.1 and rf4.1.3 and it exists on both.
All the information to reproduce are visible on the screenshot:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue using a direct path to a test file and compare it with running the parent directory, then inspect the generated output.xml. Trace the variable-file path involving BuiltIn.run_keyword; done means output.xml is valid XML in both cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100