robotframework / robotframework/RIDE
"Set Test Variable" - RIDE incorrectly gives error message "Argument: name Unknown variable"
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1k
- Forks
- 385
- Avg merge
- 13m
- Merged PRs (30d)
- 2
Description
Originally submitted to Google Code by WillDe... on 2 Dec 2013
Version - RIDE 1.2.2 running on Python 2.7.6
Robot Version - Robot Framework 2.8.2
- Create a new test, test suite, etc
- Add 2 lines:
Set Test Variable ${LoginUrl} http://google.com
Open Browser ${LoginUrl}
Problem - both field are purple (indicating a bad value), and if you hover over them they say:
"Argument: name Unknown variable"
"Argument: url Unknown variable"
(See attached .png file for screenshot)
Thing is -
- This is completely valid syntax
- If you run it - it run just fine. RobotFramework runs this, despite RIDE saying there's an error.
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 two-line example in RIDE 1.2.2 with Python 2.7.6 and Robot Framework 2.8.2, focusing on validation of Set Test Variable and Open Browser arguments. Trace why valid variables are marked unknown even though Robot Framework runs the test successfully; done means the false error indicators and hover messages no longer appear.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100