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

Elements Mapping (IntelliMap)

Once your application is ready for testing you can map your predefined elements to the actual elements. In order to proceed select the predefined element you would like to map and select Element Mapping button:

!Element Mapping TS

Standalone version
Element Mapping TS

VS plugin

The mapping dialog window appears allowing you to select between a Web or WPF test.

  • For Web: type New URL or choose from Recent URLs and click Start Mapping button.
  • For WPF: select new WPF app using the browse button or choose from Recent Apps and click Start Mapping button.

Web

Web
WPF

WPF

The example shown here is for a Web test, but for a WPF test the actions are exactly the same.

Select Recording browser and click Record.

Choose Recording Browser

Test Studio will navigate to the URL, attach the recorder and enable Highlighting so you can directly highlight the desired element and click on Select Element as shown below:

Select Element

You select the predefined element you would like to map (1) from the Elements section, confirm the find logic (2) and click on Map Element button (3).

Map Element

Please note in the example above we are working with only one predefined element in the Elements section. However you can have many predefined elements listed there. You need to be careful when mapping with an actual element which predefined element is selected. In order to avoid confusion it will be best to use descriptive friendly names to your predefined elements.

In case you would like to build more robust find logic before mapping the predefined element you can add an Expression Item.

Add Expression Item

Another filter is added so you can tweak the element's find logic.

find logic

You can undo all the changes and revert to the default find expression using the Restore Default Expression button.

Restore Default Expression



In this article