This is a migrated thread and some comments may be shown as answers.
XSD for Telerik results file
3 Answers 31 Views
This is a migrated thread and some comments may be shown as answers.
Ravi
Top achievements
Rank 1
Ravi asked on 13 Aug 2012, 02:45 PM
Hello,

Is there an xsd or dtd for the telerik results file .aiiresult? I would like to map the results xml file to java types.

Thanks

3 Answers, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 16 Aug 2012, 01:51 PM
Hi Ravi,

I am sorry but we do not have a schema definition to this file. We generate this file by de-serializing our ArtOfTest.WebAii.Design.Execution.TestResult object. If you have specific questions on any part of it, I'll do my best to answer them for you.

Kind regards,
Cody
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Mostafa
Top achievements
Rank 2
answered on 04 Feb 2013, 07:57 PM
Hi Telerik Team,

i need to Serializ the testresult of a automation Test. The result is a trx file. I currently use the class Testreult (ArtOfTest.WebAii.Design.Execution.TestResult), but I always get an exception. The innerException is ({"There was an error reflecting property 'Parent'."}).

what should I do
to serialize the result of the test?!!!!

HERE IS MY CODE AND THE TRX-File

 

//Serializing

 

public static ArtOfTest.WebAii.Design.Execution.TestResult GetConfigEnvironment(string strPath)

{

 

XmlSerializer ser = new XmlSerializer(typeof(ArtOfTest.WebAii.Design.Execution.TestResult));

 

using (var settingsFile = System.IO.File.OpenRead(strPath))

{

 

 

return (ArtOfTest.WebAii.Design.Execution.TestResult)ser.Deserialize(settingsFile);

}

}

0
Plamen
Telerik team
answered on 08 Feb 2013, 05:28 PM
Hi Mostafa,

Since this is a new separate issue, we'll address this issue in your forum post here: Public URL

Kind regards,
Plamen
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Asked by
Ravi
Top achievements
Rank 1
Answers by
Cody
Telerik team
Mostafa
Top achievements
Rank 2
Plamen
Telerik team
Share this question
or