Please note that Sahi's development and support teams do not actively monitor this. This is more a community forum. If you are a Sahi Pro user looking for commercial support, please email support @ sahipro.com with your query.

Accessor Repository and Locallization (Language) Tip

Some of you may be wondering how to use AR along with properties file for localization. Here is the sample script

setLanguage("../MYSW_propertiesfiles/de.properties","../MYSW_propertiesfiles/en.properties");

_include("test_ar.sah"); // Comes after setting the language
_assertVisible($_SPAN_BUZZ);
_click($_SPAN_BUZZ);
_click($_SPAN_MANUFACTURERS);

Note that you can easily get properties file from developers. If they don't have one readily available, you can use messages hyperlink for your application URL to get properties for specific languages.
Sign In or Register to comment.