'"Undefined Keyword" issue in VSC editor, Robot Framework
OK, so I had my first Robot Framework project written for practice a few months ago, everything worked fine, and I did not open it for a while, then today, when I did, 99% of my keywords had the "Undefined Keyword" errors popping up. The only thing I can think of is installing the RIDE editor a few days ago, but again, I deleted it - nothing changed
Screenshot link: https://i.stack.imgur.com/UMyVj.png
Solution 1:[1]
Screenshot suggest that your Library is not getting loaded with your project. Try to re-validate the project or refresh the project to make that happen. Also, check Selenium version against your robotframework version. Refer more at - https://robotframework.org/SeleniumLibrary/ under Version section.
Solution 2:[2]
py -3.8 -m pip install robotframework-seleniumLibrary
This command resolved my issue. VSC did not read the Selenium Library
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Sujit Neb |
| Solution 2 | Dragan Nedeljkov |
