I am trying to test my test codeunit in the testing tool and I get the following error message...
I do not know why I get that error...
Here is also the code, I am trying to test, maybe you will see my mistake.
Thank you for your help!
How are where are you calling this test from?
I am calling my test from Visual Studio Code via F1 and then "CRS: Run CAL Test Tool in Web Client".
I changed OpenNew to OpenEdit and the error message has disappeared...maybe that was the reason. Maybe it is also possible to solve the problem wit a commit?! Does anyone know?