If a VB project contains a coded step like this:
me.ExecuteTest("Folder1\SubTest.tstest")
It will run perfect locally but you will get the following error when you try to run it on a scheduling server:
'2/14/2014 2:09:10 PM' - 'Fail' : 1. [WebTest_CodedStep] : New Coded Step
------------------------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
Exception thrown executing coded step: '[WebTest_CodedStep] : New Coded Step'.
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.BaseWebAiiTest.ExecuteTest(String relativeTestPath)
at TestProject1.WebTest.WebTest_CodedStep() in C:\Users\gibson\AppData\Local\Temp\2\Projects\e23244dd-2975-4c14-b40c-47d782e243bc\TestProject1\WebTest.tstest.vb:line 73