Can anyone please tell me how I can automate the localization testing using QTP? We are not actually going to have translated strings on the website ready instead I am thinking to add some prefix to those strings and look for those strings on each page.
I am not testing the functionality. The purpose is to find the hard coded strings..
I am also interested in finding out how to test the hard-coded value of properties/elements where their values are supposed to changeable.
Example font colour, background color of web site can be changeable. How do I test this using automation?
I am not sure If I explained this right, please feel free to ask me for further clarification.
I spent almost 4 years in l10n testing. What you describe we called "pseudolocalization testing". We used to insert a sequence of characters in all software messages and we tested the result. Here are my 2 cents:
1. Don't automate such testing. Automation only makes sense when you plan to repeat the same test suite many times. To my knowledge there's no tool which would be easy to employ for such a test scenario.
2. Consider putting multibyte characters into the pseudolocalized strings, for example Chinese or Russian characters. The testing is then more effective because you check that the characters are displayed properly. As some 20% of the bugs we found were incorrectly displayed translated strings, this will help you to reveal such issues at an early stage of release.