Hello Henrik,
Thank you for choosing to evaluate WebUI Test Studio.
You really don't need to write any custom code to get a translator for the Button control. WebUI Test Studio is coming with built-in translators for all the standard MS controls as well as the RadControls (both ASP.NET and Silverlight).
To be able to use the built-in translators, you need to make sure the "
hover over and highlight"
mode is turned on and the respective group of translators are enabled on your end. If the hover-over mode is on you should get a red (by default, otherwise customizable) rectangle hovering elements on the loaded application.
I have attached a couple of snap shots to help you verify everything's fine on your end. Can you please check them out and see if those help? Here is the order:
1. Check the hover over mode is on.
if that doesn't help:
2. Open the Design Canvas settings.
3. Make sure the Silverlight translators groups match those from my capture.
Should you need further assistance, please let us know.
Best wishes,
Konstantin Petkov
the Telerik team