3 Answers, 1 is accepted
0
Hi Ravi,
Cody
the Telerik team
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
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
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
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
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
Test Studio Trainings