robotcode icon indicating copy to clipboard operation
robotcode copied to clipboard

[BUG] Global variable not found

Open vadim-96 opened this issue 3 weeks ago • 4 comments

Describe the bug If a global variable is set, the extension doesn't see it.

Steps To Reproduce Steps to reproduce the behavior:

  1. Create __init__.robot with VAR ${WELCOME} Hello scope=GLOBAL
  2. Create test.robot file and write a simple test
  3. Add ${WELCOME} in your test
  4. See an error Variable '${WELCOME}' not found.robotcode(VariableNotFound) in VS Code

Desktop:

  • VS Code Version 1.97.0
  • RobotCode Version 0.108.1
  • OS: Windows 10
  • Python Version 3.13
  • RobotFramework Version 7.12

vadim-96 avatar Feb 07 '25 10:02 vadim-96