MarketSquare / MarketSquare/SwingLibrary
Run Keyword On Separate Thread does not support default parameters
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 117
- Forks
- 69
- PR merge metrics
- No merged PRs in 30d
Description
In ThreadKeywords.assertArgumentCountIsCorrect it checks for varargs, but does not check for default parameters (optional parameters or parameters with a default value.
So if you try:
Run Keyword in Separate Thread Click On Table Cell someTable 0 1
You will get an error message stating "Expected 5 or more, but got 3 arguments". It expects a click count number and button mask, but those shouldn't be required for the Click On Table Cell keyword.
Contributor guide
No contributing guide indexed for this repository
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
Start in ThreadKeywords.assertArgumentCountIsCorrect and reproduce the documented Run Keyword in Separate Thread call with Click On Table Cell. Trace how varargs and default parameters are counted. Done means optional click-count and button-mask parameters are not treated as required, so the example no longer reports an argument-count error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100