This question is locked. New answers and comments are not allowed.
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
sitefinitysteve
asked on 08 Oct 2010, 07:55 PM
If I have 15 steps and I want to insert a coded after step 7 (for example)...how do I do that?
Also I'm pretty sure I remember changing the Step description text somewhere (in the steps tab), and I know I can change it IN the coded steps, but where do I do it for recorded steps
Also I'm pretty sure I remember changing the Step description text somewhere (in the steps tab), and I know I can change it IN the coded steps, but where do I do it for recorded steps
4 Answers, 1 is accepted
0
Hi Steve,
Cody
To insert a coded step, create the code first, then just drag and drop the step to the location desired. We also have Up & Down arrows you can click on to move steps around. These are located right above the "Order" column.
Best wishes,Cody
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
answered on 08 Oct 2010, 09:00 PM
Yeah that's what I thought...so I can't just right-click and insert a coded step somewhere right? I have to record a dummy step, then move it, then convert it to code, then delete the recorded code...
About Right?
About Right?
0
Accepted
Hello Steve,
VB.NET:
Greetings,
Cody
No need to record any "dummy" step. Since this is Developer edition, just open your code file (.cs or .vb) and add the code for a coded step. As soon as you Save the file to disk, the tool will automatically pick up on the new coded method you just added and add it as a step in your test. Then drag and drop it to the right location. All coded steps must have this sort of framework:
C#:
[CodedStep(@
"Enter description here"
)]
public
void
NameOfMethodHere()
{
// The code follows here
}
VB.NET:
<CodedStep(
"Enter description here"
)> _
Public
Sub
NameOfMethodHere()
' The code follows here
End
Sub
Cody
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
answered on 08 Oct 2010, 09:11 PM
Oh cool! That works!