We have an extensive set of scripts and test suites all developed with the US locale. We have a requirement now to produce locale independent scripts.
Is it possible to do this using the existing scripts using say multi tags or would a separate suite have to be maintained?
Would all include files have to exist for each language, etc?
Thanks for any input.
There s numerous ways to managed "locales" and your frame files etc ..The best approach depends on your application and how it s being localized
If it just a windows based application being translated .. or if the application and test data are different in some ways for each locale .
Multi tag are ok, but usually cause more problems than they solve, windows IDs are a better way of managing your objects.
Our application is a web based app. We have all page declarations stored in application area specific include files, within these files we have all our methods such as filling in forms, etc.
We have tried to use Window ID's when possible but obviously not all elements have an ID.
So basically, in an ideal world using indexes only, the scripts would have an abstract layer of protection from locale changes? I presume there is still alot of effort involved in making them locale indepenedent?
Relying on Indexes only , especially in the web world, is usually a bad idea ; the best approach would be to work with your dev team to get as many window Id's as you can added in the application
Alternatively you can maintain "locale" specific tags in separate include files, and have the main definitions point to those to get the objects tags , or use a similar "dictionary" based approach using Excel file, Xml ... or whatever.