Hello all,
I just wondered how you guys deal with internationalization of your individual tests so that the entire test suite can be run in different languages.
Ascential Test provides path translation so that object that are defined by text criteria can be dinamically translated to other languages.
But content of the object have to be dealth with in a different manner.
I personnaly chose to opt for class extensions and translation helper fuctions.
the translation function will simply lookup the table to retreive the translation in the set language.
the class extension method will call the translation function prior to call the regular class function it replaces.
for exemple, a list box verify contents is replaced by a TranslateThenVerifyContent in the test so that internationalization works.
I am not done with this process, but so far it works!
I am not able to add the z file, only images so I hope Brian is going to use it in the Seminar about classes.
What other method are you using?
Creating Lookup tables like you have done is a really effective solution. Have I presented that during a Forum already? If not let’s talk about it because I expect that there are others who are interested in running their tests against localized versions of their target applications
Contact Our Team