Forum Discussion
AlexeyKolosov
14 years agoStaff
Hi,
Are you saying I need to create a new mapping file for each language and then at the start of each test run select the appropriate name mapping configuration to use...?
Please note that the project will contain just one NameMapping item, which can contain several configurations. The Name Mapping tree will remain the same, only recognition properties will differ.
Is this really the only way as I say we are looking at trying to automate the tests for multiple Languages:
The main idea is that you need to create a Name Mapping scheme once (let's say for the English version), then, add a configuration that will contain the other values for the same properties. Then, from a script, you need to check what version of the application is currently running (for example, by checking the name of the executable file of the application - "someapp_en.exe", "someapp_fr.exe", etc.). After you identify the version, you can choose the needed configuration (assume all the needed configurations have been manually created beforehand) by specifying the CurrentConfigurationName property value. See the Changing the Active Name Mapping Configuration help topic for additional information.
However, if you don't want to use Name Mapping configurations, you may consider using the other approach mentioned in the following newsgroup thread:
http://www.automatedqa.com/newsgroups/d.cgi?cmd=article&group=automatedqa.public.testcomplete&item=35816&utag=