Translators

The party that best understands the internals of a component is the party that built it. The Telerik extensibility model allows third party web component vendors to encapsulate deep knowledge of component internals to share with their customers.

  • Translators are extensions that open up an element to work with Test Studio.
  • A translator describes the actions of an element that can be automated and verifications that can be performed.
  • Translators allow interaction with the Test Studio user interface including the Elements Menu and Elements Explorer.
  • Test Studio ships with basic translators for HTML, Silverlight and WPF, and translators built specifically for AJAX and Silverlight RadControls.
  • Test Studio was built with extensibility in mind, so as additional controls become available, new translators can be plugged in.
  • Telerik is committed to maintaining translators in step with RadControl changes, so you can expect the translators to always be up-to-date.

 

As your mouse hovers over elements in the Recording Surface, the blue nub will fan out to indicate progressively more specific translators.

 

 

The Recording Surface shows enhanced highlighting in the form of colored borders around a "translated" element, indicating how elements are contained within one another. The translators for a RadGrid cell are shown in this example. The nubs, from left to right, represent:

  • Base Element
  • TextBlock
  • GridViewCell
  • GridViewRow
  • RadGridView

 

As the mouse passes over translated elements, tooltip text pops up with the identity of a specific element. The light green highlighting shows where that element places in terms of its container.

 

Note: The base element will continue to be highlighted in red (HTML) or blue (Silverlight).

 

Click one of the nubs and then the Quick Tasks button on the Elements Menu. Common tasks are displayed for the specific element. The screenshot below shows verification and wait tasks for a particular grid cell. Without the translator you could not get to this level of detail easily.

 

 

Test Studio comes with translators for HTML, Silverlight, and WPF. These translators have a "base" or "generic" group of intrinsic translators that are used whenever a more specific translator is not available. These translators are listed in the Project Settings dialog.