Source of Metadata="Capabilities"?

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.

Thanks,
Wittrock

Has anyone else seen this?

Hi @wittrock !

Sorry for the late reply!

Yeah, the Capabilities is set by the Runner plugin. Can you confirm that you have the Runner plugin installed on your development machine?

Hello @Dennis ,

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?

Thanks for your help,
Wittrock

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.

1 Like

Great.

Yeah I have been ignoring it.

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.

Thanks again,
Wittrock