New to Telerik Test Studio? Download free 30-day trial

Create Coded Step


Test Studio supports coded steps. This allows you to write code and have it executed as a test step. Use a coded step for a scenario that requires more complexity than what can be composed with the Verification Builder or by actions from the Elements Menu.

1.  Add a coded step from the Step Builder under Common section.

Add a coded step

2.  Select the codding language.

Codding language

This creates a code-behind file with an empty test method where you can implement your custom code.

3.  In order to execute the code in the test method you should bind it to an existing coded step in the test. All valid methods are presented in the coded step drop down menu. Select one and save the test.

Map coded step

Many coded steps can be mapped to a single method.

4.  You can add a new method by clicking New Coded Function from the drop down.

New coded function

In this article
Not finding the help you need? Improve this article