This question is locked. New answers and comments are not allowed.
Our automated UI tests are run as ordered tests in our build process. Visual Studio and TFS report errors on generated test result file saying "XSD violation: The required attribute 'type' is missing." for each ordered test in the test result xml. The TestLink elements below should have the 'type' attribute.
When I run the ordered tests through the command line on the machine these tests are developed on, the test result file contains the type attribute.
The development machine is 32-bit and the build machine is 64-bit. Both have the same version of WebUI Test Studio (2.0.8.0). What can I do to get the test results file on the build machine to add the type attribute to the TestLink element?
<
TestDefinitions
>
<
OrderedTest
name
=
"ci"
storage
=
"c:\***\***\ci.orderedtest"
id
=
"cef98908-e017-4389-8690-5c50b325805f"
continueAfterFailure
=
"true"
>
<
Css
projectStructure
=
""
iteration
=
""
/>
<
Execution
timeOut
=
"2147483647"
id
=
"48843d4f-c2d8-4905-a205-868476c80ddb"
/>
<
Owners
>
<
Owner
name
=
""
/>
</
Owners
>
<
TestLinks
>
<
TestLink
id
=
"594a2fef-7140-4bd9-ad8c-6d8be975b0be"
name
=
"SU01"
storage
=
"su01.aii"
/>
<
TestLink
id
=
"cb2cb72b-2a17-47b9-85dc-d417138eb7d4"
name
=
"SU02"
storage
=
"su02.aii"
/>
<
TestLink
id
=
"36ca1973-869c-47bb-ab01-aa68ec133fd2"
name
=
"SU03"
storage
=
"su03.aii"
/>
</
TestLinks
>
</
OrderedTest
>
When I run the ordered tests through the command line on the machine these tests are developed on, the test result file contains the type attribute.
<
TestDefinitions
>
<
OrderedTest
name
=
"ci"
storage
=
"c:\***\***\ci.orderedtest"
id
=
"cef98908-e017-4389-8690-5c50b325805f"
continueAfterFailure
=
"true"
>
<
Css
projectStructure
=
""
iteration
=
""
/>
<
Execution
timeOut
=
"2147483647"
id
=
"2a00d20e-14de-41ec-82bf-3ec417ce6092"
/>
<
Owners
>
<
Owner
name
=
""
/>
</
Owners
>
<
TestLinks
>
<
TestLink
id
=
"594a2fef-7140-4bd9-ad8c-6d8be975b0be"
name
=
"SU01"
storage
=
"su01.aii"
type
=
"ArtOfTest.WebAiiVSIP.WebAiiTest, ArtOfTest.WebAiiVSIP, PublicKeyToken=14176981d1873d86"
/>
<
TestLink
id
=
"cb2cb72b-2a17-47b9-85dc-d417138eb7d4"
name
=
"SU02"
storage
=
"su02.aii"
type
=
"ArtOfTest.WebAiiVSIP.WebAiiTest, ArtOfTest.WebAiiVSIP, PublicKeyToken=14176981d1873d86"
/>
<
TestLink
id
=
"36ca1973-869c-47bb-ab01-aa68ec133fd2"
name
=
"SU03"
storage
=
"su03.aii"
type
=
"ArtOfTest.WebAiiVSIP.WebAiiTest, ArtOfTest.WebAiiVSIP, PublicKeyToken=14176981d1873d86"
/>
</
TestLinks
>
</
OrderedTest
>
The development machine is 32-bit and the build machine is 64-bit. Both have the same version of WebUI Test Studio (2.0.8.0). What can I do to get the test results file on the build machine to add the type attribute to the TestLink element?