Running same script on several languages and cultures
- 7 years ago
Hi Nadav,
The recommended practice is to spend some time before recording and NameMap required UI elements manually. This will provide you with:
a) Objects tree that is more convenient for you; and
b) You may be able to map objects by stable language-agnostic internal identifiers.
You may consider NameMapping Templates (https://support.smartbear.com/testcomplete/docs/testing-with/object-identification/name-mapping/templates/index.html) to make things to be more convenient for you.
If you are forced to deal with localizable strings, you may implement something like resources table (used in the languages like C/C++/Delphi/etc.) and use variables instead of hardcoded strings for objects recognition (https://support.smartbear.com/testcomplete/docs/testing-with/object-identification/name-mapping/managing/modifying/identification-properties.html).