Problem with parsing the .trx-Results

2 posts, 0 answers
  1. Mostafa
    Mostafa avatar
    22 posts
    Member since:
    Aug 2012

    Posted 15 Nov 2013 Link to this post

    Hi Telerik Team,

     

    we use Cruise Control to schedule the telerik autommated Testscripts. To schwo the results of the tests in Cruise Control, i use an XML-Schema to parse the XML-Results.

    The new Version of Telerik.Test-Studio (Version: 2013.1.911) change the strukture of the XML-File for the testresults (i mean the .trx files). So that we no longer the seceond "WebAiiTestResult" with the "AutomationStepResults" and there "Item" have.

    The neu Version ot telerik return the result as a single string (se below)

    The old .trx-File have fhe folow XML-Tag:

    • Second “WebAiiTestResult”
    • AutomationStepResults
    • And many item

    In the neu .trx-File there is only the XML-Tag:

    • TestStudioResult

     

    <TestStudioResult xmlns="">{"__type":"ArtOfTest.WebAii.Design.Execution.TestResult","__value":{"Browser":1,"ExeType":0,"SeparatorLineCharCount":60,"Message":"Overall Result: Fail\r\n------------------------------------------------------------\r\n'14.11.2013 20:17:39' - Using .Net Runtime version: '4.0.30319.1008' for test execution. Build version is-------------……. (etc.)

    <TestStudioResult>

     

    Would you Please fix this problem. Because otherwise we can’t display the results in CruiseControl

     

    I have also uploaded the two .trx-Files (the old one and  the new one) and the XSL-Schema.

     

    Best regards

    Mostafa

     

  2. Velin Koychev
    Admin
    Velin Koychev avatar
    88 posts

    Posted 20 Nov 2013 Link to this post

    Hello Mostafa,

    Here is the problem: the new version 2013.1 of Test Studio uses JSon encoding, while 2012.x versions used XML for the tests. Which means that once you have upgraded your project to 2013.1, all your tests became JSon.

    You can copy what is inside TestStudioResult tag, paste it in tools like this and you will be able to view the information in a more readable format.  

    Thank you for your understanding. 

    Regards,
    Velin Koychev
    Telerik
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
Back to Top