XSD for Telerik results file

4 posts, 0 answers
  1. Ravi
    Ravi avatar
    2 posts
    Member since:
    Aug 2012

    Posted 13 Aug 2012 Link to this post

    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

  2. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 16 Aug 2012 Link to this post

    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
  3. Mostafa
    Mostafa avatar
    22 posts
    Member since:
    Aug 2012

    Posted 04 Feb 2013 Link to this post

    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);

    }

    }

  4. Plamen
    Admin
    Plamen avatar
    8 posts

    Posted 08 Feb 2013 Link to this post

    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
Back to Top