swapnildaphal
15 years agoOccasional Contributor
Is there any Application level Nationalization mechanism in Testcomplete?
>>What we are doing?
We have some set of project suite automated for one application which is created for German enviroment(Market) now our application soon will be launched in another langunage for e.g Czech.
>> Following are the problems we facing:
1.While scripting we have hard coded some menu items, form tiltles,button names,tree node name etc.
for.eg. Script generated on click of menu item Berichte is
Sys["Process"]("iMed")["frmPatientOutline"]["MainMenu"]["Click"]("Formular|Berichte...");
Now this is generated for German enviroment But for Czech enviroment menu item Berichte does not exists so this script and other dependent script are failing.
>>Solutions i forsee are
1)Create and maintain separate codebase for each nationalization it means for 5 languages we will have to create 5 code base.
2)Ideally all the scripts should be object based,So convert all script to object based from hard coded.This is not possible due to time restriction.
Question
As per my knowledge for such kind of situations Visual studio has in built mapping files known as resx files so that we can map them according to logged in nationalization using some config files.Does testcomplete provide any similar mechanism? Are there any another ideas?
We have some set of project suite automated for one application which is created for German enviroment(Market) now our application soon will be launched in another langunage for e.g Czech.
>> Following are the problems we facing:
1.While scripting we have hard coded some menu items, form tiltles,button names,tree node name etc.
for.eg. Script generated on click of menu item Berichte is
Sys["Process"]("iMed")["frmPatientOutline"]["MainMenu"]["Click"]("Formular|Berichte...");
Now this is generated for German enviroment But for Czech enviroment menu item Berichte does not exists so this script and other dependent script are failing.
>>Solutions i forsee are
1)Create and maintain separate codebase for each nationalization it means for 5 languages we will have to create 5 code base.
2)Ideally all the scripts should be object based,So convert all script to object based from hard coded.This is not possible due to time restriction.
Question
As per my knowledge for such kind of situations Visual studio has in built mapping files known as resx files so that we can map them according to logged in nationalization using some config files.Does testcomplete provide any similar mechanism? Are there any another ideas?