Forum Discussion

Nadav's avatar
Nadav
Contributor
7 years ago

Running same script on several languages and cultures

Hi,

As far as i can tell, when i'm recording a test and clicking an item on the GUI - it is saved in the TestComplete as the string that as it represented to the user (for example: Tab Action) and not in the inner prior-to-translation name ("Button_Tab_Action_List"). 

That means, that if my GUI supports several languages (i.e. the back name is the same, and the GUI is translating it from that name to the selected language) - i'll have to record it separately for each one, so the front name will be detected.

Is there a common practice to bypass those name?

 

also - would i have the same issue with the OS language? (e.g. does "new folder" is saved as "new folder" even when the language is Hebrew for example and it is displayed as "תיקיה חדשה")

 

Thanks,

Nadav.