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

Bug report: using special characters in test list names results in exceptions during execution

3 Answers 125 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Geert
Top achievements
Rank 1
Geert asked on 09 Dec 2013, 08:59 AM
It looks like when using special characters such as [, ], (, ), the execution will fail:

InnerException:

System.ArgumentException: The path is not of a legal form.

   at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength)

   at System.IO.Path.GetFullPathInternal(String path)

   at System.IO.FileInfo.Init(String fileName, Boolean checkHost)

   at System.IO.FileInfo..ctor(String fileName)

   at ArtOfTest.WebAii.Design.ProjectModel.TestFileHandler.LoadFromDisk(String pathToFile, Boolean autoLoadTypes, FileOpenResult& result)

   at ArtOfTest.WebAii.Design.ProjectModel.Project.LoadTest(String filePath)

   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteTestInCurrentContext(String relativeTestPath)

   at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.ExecuteTestActionDescriptor.Execute(IAutomationHost autoHost, TestAsStepResult result)

   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)

------------------------------------------------------------

3 Answers, 1 is accepted

Sort by
0
Ivaylo
Telerik team
answered on 11 Dec 2013, 01:18 PM
Hello Geert,

This was a known issue which should be fixed.
You can proceed in two ways, either upgrade your Test Studio up to the latest available version or rename the test list in question.

Thank you for your understanding.

Regards,
Ivaylo
Telerik
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Arathi
Top achievements
Rank 1
answered on 05 May 2014, 11:44 AM
Hey Ivaylo,

I am using telerik test studio version 2013.1.1120.0.
But still I am getting below error i.e. "The path is not of a legal form."
Can you get back with the possbile solution and possibilities that I need to check.

0
Ivaylo
Telerik team
answered on 07 May 2014, 01:43 PM
Hello Arathi,

Please use the same approach that is already provided in my previous reply. Upgrading Test Studio should get you rid of this problem. In case you are still experiencing this problem we will need a reliable repro in order to proceed further.

Thank you for your understanding.

Regards,
Ivaylo
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Geert
Top achievements
Rank 1
Answers by
Ivaylo
Telerik team
Arathi
Top achievements
Rank 1
Share this question
or