Hello, I am using RIDE 2.0. When I do a test with all test cases it goes well but when I repeat the test the variables of the test cases are not assigned correctly and it leaves them empty which causes the test cases to fail.
This is an example of one of the test cases where after executing the command in Python it returns a value. Well, the second time the test is done, that value is not saved by the variable âreturnâ
Please try to confirm that the problem is not caused by RIDE. Execute your test in the command line.
You should also use the --loglevel TRACE option to Robot Framework.
I highly doubt the issue is with âvariable is not setâ. Since you blurred out the name of the script you are running, are you 100% that the Execute Command runs that one ? For example, if any part of your code changes the working directory during the execution, that script execution could fail as the script is not found anymore ?
RIDE version 2.0 is very old. The latest released version is 2.0.8.1.
And I announced yesterday the release of Alpha version 2.1a3 (it would be nice if you could prepare a virtual environment, install robot and libraries and test this version of RIDE with the interface in Spanish).
Try to run in RIDE with the option --loglevel TRACE in the Arguments field. See if the Execute Command can show detailed errors or output.
We knew that already, we are trying to understand why.
Since it something with the Execute Command I was trying to narrow to that step.
I really find strange RIDE causing problems in the second execution. Even so, if it is a bug in RIDE, you should try to see if still happens in 2.0.8.1 (and I recommend 2.1a3).
If it is really important, then use RIDE only to write and edit test cases, run them from command line.