We have the customize code for rbf including standard liberties and referenced libraries, which eariler working fine with 3.6 python version. But now we are trying to build again with verion python 3.12 so, we are troble shooting the error but now getting error like
“Importing library ‘rbfWEB’ failed: ImportError: cannot import name ‘DynamicCore’ from 'SeleniumLibrary.base”
We are tried to import robotframework-seleniumlibrary but in this case also it is not working.
“Importing library ‘rbfWEB’ failed: ImportError: cannot import name ‘DynamicCore’ from 'SeleniumLibrary.base”
This feels like that the lib you have been using (rbFWEB) is depending on older version of SeleniumLibrary that you currently have installed because DynamicCore is not in that place anymore (afaik, i didnt check).
– EDIT
I dont remember when the change was made but it was long time ago – DynamicCore was moved out from SeleniumLibrary and its now a separate module called “robotlibcore”, so if your rbfWEB has import like
from SeleniumLibrary.base import DynamicCore
you need to change it to
from robotlibcore import DynamicCore
But if your code has been running good till now, almost certain that this is not the only thing you might need updating.
This is good example of why test code should always be kept up to date with the dependencies..