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

Predefined Elements

Test Studio Standalone

Predefined elements and element mapping is a new Test Studio feature introduced in the R1 2015 release. Now you have the ability to create your automated tests while the application you will be testing is still in development and does not yet have the UI elements for the test or tests you want to create. You can create your test while waiting for the UI of the application to catch up.

This new feature should be extremely helpful for QA engineers since they no longer have to wait until the application feature is developed before creating a test script.

You can start creating your automated tests using predefined elements and add actions or verifications against those elements.

In order to proceed create a Web or WPF test. Navigate to the Elements tab:

Elements tab

Click on Add Element button:

Add Element

The element gets added in the Predefined Elements section:

Element Added

Once created you can edit the properties of the element such as ControlType, FriendlyName and Technology type:

Edit Element's properties

If you are using Silverlight, please make sure you change the TechnologyType to Silverlight in order to be able to create the appropriate steps.

You can also use the Step Builder to create various steps against the element such as actions and verifications:

Actions/Verifications

Visual Studio Plugin

In order to proceed create a Web or WPF test. Navigate to the Elements Explorer of the project:

Elements explorer VS

Click on Add Element button:

Add Element

The element gets added in the Predefined Elements section:

Element Added

Once created you can edit the properties of the element such as ControlType, FriendlyName and Technology type:

Edit Element's properties

If you are using Silverlight, please make sure you change the TechnologyType to Silverlight in order to be able to create the appropriate steps.

You can also use the Step Builder to create various steps against the element such as actions and verifications:

Actions/Verifications



In this article