Robot Framework project keyword changes

Could you please help

Some test cases are no longer accepted during execution, for loop syntax :for which has been replaced by for.

Why is this happening since I didn’t change my robot Framework version.

Is it possible to keep my stuff as before and keep the running processs as it is.

Nb: my projyis no longer accepted by eclipse. Red could not be initiated
Thank you

Paste here the output of (commands in a cmd/terminal/shell):
pybot --version
python -m robot --version
python --version
python -m pip list

py -m robot --version
Robot Framework 4.1.3 (Python 3.10.6 on win32)

py --version
Python 3.10.6

C:>py -m pip list
Package Version


async-generator 1.10
attrs 21.4.0
certifi 2022.5.18.1
cffi 1.15.0
charset-normalizer 2.0.12
coverage 6.4.1
cryptography 37.0.2
decorator 5.1.1
distlib 0.3.4
docutils 0.18.1
filelock 3.7.1
h11 0.13.0
idna 3.3
Jinja2 3.1.2
jsonpath-rw 1.4.0
jsonpath-rw-ext 1.2.2
MarkupSafe 2.1.1
numpy 1.22.4
outcome 1.2.0
pandas 1.4.2
pbr 5.9.0
pip 22.2.1
platformdirs 2.5.2
pluggy 0.13.1
ply 3.11
py 1.11.0
pycparser 2.21
Pygments 2.12.0
pyOpenSSL 22.0.0
PySocks 1.7.1
python-dateutil 2.8.2
pytz 2022.1
requests 2.28.0
robotframework 4.1.3
robotframework-csvlib 1.0.2
robotframework-databaselibrary 1.2.4
robotframework-datadriver 1.6.0
robotframework-jsonlibrary 0.3.1
robotframework-metrics 3.3.3
robotframework-pabot 0.99
robotframework-pythonlibcore 2.1.0
robotframework-requests 0.6.6
robotframework-seleniumlibrary 4.1.0
robotframework-stacktrace 0.4.1
robotremoteserver 1.1
selenium 4.2.0
setuptools 63.2.0
six 1.16.0
sniffio 1.2.0
sortedcontainers 2.4.0
tox 3.0.0
trio 0.21.0
trio-websocket 0.9.2
urllib3 1.26.9
virtualenv 20.14.1
wheel 0.37.1
wsproto 1.1.0

Thank you

Short answer… no. Tou should update your FOR loops or downgrade RF to a version in which your code worked. I suggest the first option :slightly_smiling_face:

You can use RoboTidy to make that refactoring fully automatically for you!

https://robotidy.readthedocs.io/en/stable/