I’m trying to track down what is adding the following to my test plans every time I save them. <Capabilities Metadata="Capabilities" />
It is currently throwing an error when I try to load the test plan on some installations. Serializer : XML Line xxx: Unable to read element 'Capabilities'. The property does not exist.
I remove it manually and the error goes away, but it is always re-inserted when I save the test plan file on my development machine.
Yes, I am currently using EditorX for editing test plans, and it requires Runner.
But, my debug environment does not and users that make use of TUI probably do not, so I guess that would explain why the error is only seen under those conditions.
So I guess if I want to avoid the error, the user of the TapPlan I write will need to have Runner installed. Is that correct?
Only if you actually use the Capabilities for anything. Otherwise the error (or warning message?) is pretty harmless.
I’m going to add an issue in the Runner to avoid writing the Capabilities tag to the TestPlan if there is no capabilities set - that would avoid the error message that you are seeing.
It’s just when I am debugging, I always have to acknowledge the error to continue at startup, so just an annoyance. I have also been just removing it from the test plan manually if I am doing a lot of debug.