Open the “Testing” view in VS Code and check your tests are listed there or if some error message is shown.
Typical errors I saw in the past that caused problems:
Mixture of “Tasks” and “Tests” within a project.
Some files in the project which cannot be read/accessed by RobotCode extension.
I gave a short tutorial at RoboCon on how to set up and configure RobotCode. And also some information about the new robot.toml file with which you can configure RobotCode, but also the execution on the command line. Maybe this is interesting for you:
I’ve also watched the video you mentioned. It seemed so easy to set up from scratch. But there i no mention how to adapt everything to an existing workspace.
Hi @MartinX
Could it be related with the Workspace. Did you try to create a Workspace folder which have all your robot files and libraries?
Maybe this could solve the issue.
Hello, I was getting the same issue while working on the robot automation test scripts. I tried many ways, at last i was able to run my scripts.
You can also try, I’m using VS code right now. SO for VS code you need, two things Python and RobotCode extensions, right
Check you Python version,
1 ) If python version is 3.9.13, then your Robotcode version should be 1.X.X
2 ) if python version is 3.10, then your RobotCode version should be greater than 2.X.X