# Test Step Metadata and Version in OpenTAP 9.18

**URL:** <https://forum.opentap.io/t/test-step-metadata-and-version-in-opentap-9-18/939>\
**Category:** Technical\
**Tags:** opentap-sdk, ks8400-editor\
**Created:** [November 25, 2022, 3:12am UTC](https://forum.opentap.io/t/test-step-metadata-and-version-in-opentap-9-18/939 "2022-11-25T03:12:31Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![antonio.quizon](https://avatars.discourse-cdn.com/v4/letter/a/0ea827/32.png) [@antonio.quizon](https://forum.opentap.io/u/antonio.quizon)\
**Post date:** [November 25, 2022, 3:12am UTC](https://forum.opentap.io/t/test-step-metadata-and-version-in-opentap-9-18/939/1 "2022-11-25T03:12:31Z")

</div>

Hi everyone,

We are analyzing the differences in the test plan xml as we upgrade to Keysight 9.18.4 Development System.

Here are the findings (image below):

1. We found that the “Version” for each test step will always be reset to 1.0.0 regardless of the packages installed.
2. Metadata has been added for the property for each test step. May we know how can this be utilized?

 ![image](https://us1.discourse-cdn.com/flex020/uploads/opentap/original/1X/791f43ab24cbdb457d0801e4a7cc079baeca5b45.png)

Can we understand the reason, and impacts for the changes? This would help in our analysis, thank you!

---

<div class="post-metadata">

**Author:** ![rolf\_madsen](https://avatars.discourse-cdn.com/v4/letter/r/43a26b/32.png) [@rolf\_madsen](https://forum.opentap.io/u/rolf_madsen)\
**Post date:** [November 28, 2022, 9:27am UTC](https://forum.opentap.io/t/test-step-metadata-and-version-in-opentap-9-18/939/2 "2022-11-28T09:27:11Z")

</div>

Hi @antonio.quizon,

The ‘version’ attribute has been deprecated in 9.18, in favor of the package dependency versions added to the end of the XML file, since version 9.10 or so.

If you want to understand the dependencies, it is better to scroll to the end of the test plan and see which packages it requires. e.g

```xml
  <Package.Dependencies>
     <Package Name="OpenTAP" Version="^9.19.4+7959a308" />
  </Package.Dependencies>

```

This makes it a bit more complicated to find out the ‘version’ of each plugin type used in the test plan, but if you want to do so, you just need to correlated the type with the type in each package. If you need some code for this I can provide it.

---

<div class="post-metadata">

**Author:** ![antonio.quizon](https://avatars.discourse-cdn.com/v4/letter/a/0ea827/32.png) [@antonio.quizon](https://forum.opentap.io/u/antonio.quizon)\
**Post date:** [November 28, 2022, 10:33am UTC](https://forum.opentap.io/t/test-step-metadata-and-version-in-opentap-9-18/939/3 "2022-11-28T10:33:14Z")

</div>

Hi @rolf_madsen , thanks for the response.

What about the second change mentioned above - Metadata attribute which was added in “Name” property?

---

<div class="post-metadata">

**Author:** ![antonio.quizon](https://avatars.discourse-cdn.com/v4/letter/a/0ea827/32.png) [@antonio.quizon](https://forum.opentap.io/u/antonio.quizon)\
**Post date:** [December 5, 2022, 1:26am UTC](https://forum.opentap.io/t/test-step-metadata-and-version-in-opentap-9-18/939/4 "2022-12-05T01:26:41Z")

</div>

Hi everyone, bumping this post up!

---

<div class="post-metadata">

**Author:** ![rolf\_madsen](https://avatars.discourse-cdn.com/v4/letter/r/43a26b/32.png) [@rolf\_madsen](https://forum.opentap.io/u/rolf_madsen)\
**Post date:** [December 5, 2022, 11:42am UTC](https://forum.opentap.io/t/test-step-metadata-and-version-in-opentap-9-18/939/5 "2022-12-05T11:42:38Z")

</div>

Hi @antonio.quizon,

I don’t know why the Name has the Metadata attribute. I think it is an unintended side effect from supporting it on the test plan level.

---

<div class="post-metadata">

**Author:** ![antonio.quizon](https://avatars.discourse-cdn.com/v4/letter/a/0ea827/32.png) [@antonio.quizon](https://forum.opentap.io/u/antonio.quizon)\
**Post date:** [December 8, 2022, 7:18am UTC](https://forum.opentap.io/t/test-step-metadata-and-version-in-opentap-9-18/939/6 "2022-12-08T07:18:53Z")

</div>

Hi @rolf_madsen,

Thanks for responding and the help.

Here are a few questions:

1. Will this be fixed in the future releases? If yes, when or which version will it be?
2. Once it is fixed, how will this impact the test plans which were saved with the unintended side effect? Will it cause any issues?

Thanks again.

---

<div class="post-metadata">

**Author:** ![rolf\_madsen](https://avatars.discourse-cdn.com/v4/letter/r/43a26b/32.png) [@rolf\_madsen](https://forum.opentap.io/u/rolf_madsen)\
**Post date:** [December 8, 2022, 8:57am UTC](https://forum.opentap.io/t/test-step-metadata-and-version-in-opentap-9-18/939/7 "2022-12-08T08:57:06Z")

</div>

1. My guess is that it will be fixed in 9.20, unless there is some practical use for it.
2. There should not be any unintended side effects when its gone. Attributes in general are like extra information - they don’t require being parsed and as such usually don’t give off any warning or errors. You can try this out yourself by inserting some random attributes in your test plan.
