This is a migrated thread and some comments may be shown as answers.

Problem with parsing the .trx-Results

1 Answer 60 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mostafa
Top achievements
Rank 2
Mostafa asked on 15 Nov 2013, 01:07 PM

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

 

1 Answer, 1 is accepted

Sort by
0
Velin Koychev
Telerik team
answered on 20 Nov 2013, 09:19 AM
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!
Tags
General Discussions
Asked by
Mostafa
Top achievements
Rank 2
Answers by
Velin Koychev
Telerik team
Share this question
or