Forum Discussion

jsc's avatar
jsc
Regular Contributor
14 years ago

automated multi-language test

Hi all,



my test currently takes around 2.5 hours to test the german (main) version of our software.

I now want to test the other versions of the software, namely english, french, maybe turkish versions as frequently language-related errors occur, that are not found by testing the german version.



A) First of all I thought of this solution:

- copying the complete project suite for each language

- adjusting the test for each language (screenshots, some on-screen actions)

- updating the test of the new languages every few months (leading test will be with the german language)



B) Now I thought about a maybe smarter solution:

1. keeping just one project suite

2.  make a language variable accessible in the test (already done)

3. adjusting the language specific on-screen actions (german: ...clickTab "Allgemein"; english: ... clickTab "General")

4. each region checkpoint checks a different picture depending on the selected language

5. updating the test every few months (leading test will be with the german language)



With 3. and 4. I do need help as I do not want to rush forward with a solution that will do the job but is roughly maintainable and hardly extendible (5.). I think 3. could be done by some variables / arrays but I am not sure about the screenshots. When using A) (copying complete project suite) I just can check the checkpoints and overwrite the stored picture as I do not have to care about a different name. When using B) I have to record the picture with a different name (maybe with ending "_EN" or "_TR").



Can anyone help me with that decision?



Thanks a lot, kind regards,



Joachim