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

Customize step in code issue

1 Answer 104 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
hu
Top achievements
Rank 1
hu asked on 09 Mar 2011, 09:19 AM
Hi Telerik Team ,
  
     When  Customize step in code the Case cannot run normally again.
The error message as follow :
2011/3/9 15:49:38' - System.ArgumentException: The coded step method 'MMS_Login_CodedStep' does not exist.
   at ArtOfTest.WebAii.Design.Execution.ExecutionContext.SetNewBrowserTracking(Test test, Object codeBehind)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteTestIteration(Object codeBehindInstance)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteDataDrivenTest(Test test, BaseWebAiiTest codeInstance)
   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)

1 Answer, 1 is accepted

Sort by
0
Stoich
Telerik team
answered on 14 Mar 2011, 11:40 PM
Hello Hu,

     does this occur every time you create coded steps? Does the problem persist when you create a different test project? Try clicking on the "Remove script file" button (screenshot 1). This will remove the code behind file. Now add a coded step again - this time problem might disappear.

If you're still having trouble with this go ahead and send me the test project. I'd like to take a look and try to determine what's causing this behavior. 

All the best,
Stoich
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
General Discussions
Asked by
hu
Top achievements
Rank 1
Answers by
Stoich
Telerik team
Share this question
or