Hi,
I am getting following Exception while execution test as step on execution server. Note : It works fine on local machine...
'9/22/2011 4:42:04 PM' - 'Pass' : 4. Wait for '2000' msec.
'9/22/2011 4:42:04 PM' - 'Fail' : 5. Execute test 'ADD_AP_PaymentTerm'
>>> Test-as-Step 'AP\DATA\Add AP Payment Term\ADD_AP_PaymentTerm.tstest' log starts:
------------------------------------------------------------
'9/22/2011 4:42:04 PM' - Detected custom code in test. Locating test assembly: Automation.dll.
------------------------------------------------------------
'9/22/2011 4:42:04 PM' - Error attempting to execute a Test As Step. Details:
'9/22/2011 4:42:04 PM' - System.BadImageFormatException: This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. (Exception from HRESULT: 0x8013101B)
at System.Reflection.Assembly.nLoadFile(String path, Evidence evidence)
at System.Reflection.Assembly.LoadFile(String path)
at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.EnsureAssemblyExists(String assembly, String folder)
at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.CreateCodedTestInstance(Test test, TestResult result, String binariesFolder)
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteTest(Test test, TestResult initializationResult)
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteTestInCurrentContext(Test test)
<<< Test-as-Step 'AP\DATA\Add AP Payment Term\ADD_AP_PaymentTerm.tstest' log ends.
------------------------------------------------------------
'9/22/2011 4:42:04 PM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
------------------------------------------------------------
I am getting following Exception while execution test as step on execution server. Note : It works fine on local machine...
'9/22/2011 4:42:04 PM' - 'Pass' : 4. Wait for '2000' msec.
'9/22/2011 4:42:04 PM' - 'Fail' : 5. Execute test 'ADD_AP_PaymentTerm'
>>> Test-as-Step 'AP\DATA\Add AP Payment Term\ADD_AP_PaymentTerm.tstest' log starts:
------------------------------------------------------------
'9/22/2011 4:42:04 PM' - Detected custom code in test. Locating test assembly: Automation.dll.
------------------------------------------------------------
'9/22/2011 4:42:04 PM' - Error attempting to execute a Test As Step. Details:
'9/22/2011 4:42:04 PM' - System.BadImageFormatException: This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. (Exception from HRESULT: 0x8013101B)
at System.Reflection.Assembly.nLoadFile(String path, Evidence evidence)
at System.Reflection.Assembly.LoadFile(String path)
at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.EnsureAssemblyExists(String assembly, String folder)
at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.CreateCodedTestInstance(Test test, TestResult result, String binariesFolder)
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteTest(Test test, TestResult initializationResult)
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteTestInCurrentContext(Test test)
<<< Test-as-Step 'AP\DATA\Add AP Payment Term\ADD_AP_PaymentTerm.tstest' log ends.
------------------------------------------------------------
'9/22/2011 4:42:04 PM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
------------------------------------------------------------