I am getting follwing error while executing Automation Test cases using ArtOfTest.Runner.
The Test case is executing successfully if there is no Coded Step added. But when i add Coded step i am getting follwing error -
'5/26/2011 11:35:54 AM' - Starting execution....
'5/26/2011 11:35:54 AM' - Detected a Silverlight Test. Setting EnableSilverlight=True
'5/26/2011 11:35:56 AM' - Detected custom code in test. Locating test assembly: iRelexUIAutomationTest.dll.
'5/26/2011 11:35:56 AM' - Failure detected during execution. Details:
------------------------------------------------------------
'5/26/2011 11:35:56 AM' - System.IO.FileNotFoundException: Unable to find the code behind assembly. Please make sure you have compiled your code behind without errors before attempting to execute the test. Looking for: C:\RelexAutomation\iRelexUIAutomationTest\iRelexUIAutomationTest\AboutBox\bin\iRelexUIAutomationTest.dll
If you are running VS 2010, make sure Deployment is checked in your .settings file (in the solution items)
at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.EnsureAssemblyExists(String assembly)
at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.CreateCodedTestInstance(Test test, TestResult result)
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteTest(Test test, TestResult initializationResult)
at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(Test test, Settings settings, String deploymentFolder, ExecutionType exeType, Guid lastStepGuid, DebuggerOptions debuggerOptions)
------------------------------------------------------------
'5/26/2011 11:35:56 AM' - Test completed!
Do i need to add any dll ?? I have also verified the Deployment option is checked in Setting file.
Thanks,
Madhav Jadhav.
PTC Software