I have a projec that has recent starting giving the following error when I try and run it:
(note: my other projects work fine)
"C:\Program Files (x86)\Telerik\Test Studio\Bin\ArtOfTest.Runner.exe" list="C:\Automation\Test Studio Projects\AuthAnvil PasswordServer\TestLists\PWS Static Tests.aiilist"
There was an error deserializing the object of type ArtOfTest.WebAii.Design.ProjectModel.Test. Name cannot begin with the '<' character, hexadecimal value 0x3C. Line 1, position 252.
at ArtOfTest.WebAii.Design.ProjectModel.Project.LoadTest(String filePath)
at ArtOfTest.WebAii.Design.Execution.CommandLineRunner.ExecuteListInternal(TestList list, String projectPath, Dictionary`2 publishArgs)
at ArtOfTest.WebAii.Design.Execution.CommandLineRunner.ExecuteTestList(String aiiListPath, Dictionary`2 publishArgs)
at ArtOfTest.Runner.Program.CommandLineExecution(String args)
at ArtOfTest.Runner.Program.Main(String args)
3 Answers, 1 is accepted
answered on 28 Dec 2012, 04:01 PM
the error message states that the '<' character is not allowed in a test name. The obvious first step is to check whether this characters feature in the names of any of the tests within the test list.
Neither Test Studio's GUI nor the Windows OS will allow you to put '<' in a filename so I'm not sure as to how this would happen. If you cannot find any problems yourself go ahead and send us your test project. We'll examine it and we'll try to find and rectify any irregularities.
Hey Stoich, I figured out the problem. first of all apologies for wasting your time. The project where this problem occured is not one that i've worked on it, the author is away on vacation.
It appears that when checked into subversion there were merge issues that were saved into the file. Unfortunately the error that was displayed was not detailed enough to explain which file was causing the error (maybe that would be a good feature request?)
Anyway after searching through the testlists for issues and finding none, I wrote a small program to scan through all of my tstest files and load them into xmldocuments if they failed to list them.
Here's the code that i used to find the problem area:
The feedback in case like this can be improved. I have submitted a request on your behalf which you can track here. I have also added Telerik points to your account as a token of gratitude to your feedback, thank you!
By the way, can you check the Test Studio application log for exception like this however with message pointing to the test? The exception message there should be more helpful.