Completed
Last Updated: 03 Apr 2023 12:27 by ADMIN
Adam
Created on: 10 Mar 2023 14:41
Type: Bug Report
2
Error on deserializing test result

Test Studio version 2023.1.222

Specific Test List result cannot be opened in Test Studio Results viewer. Result is displayed with message "X tests passed out of 0 executed", but no test result is available for review. HTML and XML exports of results provide full details on the test list run.

Specific tests cannot be loaded correctly in Test Studio project. 

Errors in logging says: 

Situation: Error deserializing a run result file 'C:\<pathToFile>\filename.aiiresult'.
     Outer Exception Type: ArtOfTest.Common.Serialization.XmlPersistenceException
     Message: Error deserializing object

Situation: Unable to load test 'C:\<pathToFile>\filename.tstest'
     Outer Exception Type: System.Xml.XmlException
     Message: invalid data at the root level. Row 1, position 1


Workaround, until a fix is available, is to downgrade the Test Studio version to previous version 2022.3.1318. 

  1. First take the backed up project version to use after the downgrade. 
  2. Open the project root folder and locate the Backup sub-folder.
  3. Find the most recent folder - it is named with the last version number you used of Test Studio before the upgrade. 
  4. A copy of the project in its state before the upgrade is stored in the zipped folder. 
  5. Unzip the project to a folder, but don't open it before the downgrade.
  6. Uninstall Test Studio.
  7. Install version 2022.3.1318
  8. Open the unzipped project and continue working on your project. 

 

1 comment
ADMIN
Elena
Posted on: 03 Apr 2023 12:27

i Adam,

The misbehavior was addressed in Test Studio release 2023 R1 SP1 published on 29. March 2023 (v.2023.1.329).

Regards,
Elena
Progress Telerik

Virtual Classroom is the free self-paced technical training portal that gets you up to speed with Telerik and Kendo UI products including Telerik Test Studio! Check it out at https://learn.telerik.com/.