Friday, July 18, 2008

Is it possible to use the new text recognition mechanism to capture text that is in another language such as French or Japanese?

QTP 9.2 introduced a new text recognition mechanism. The information provided here applies to QTP 9.2 or higher. This solution is not available for earlier versions of QTP.
To indicate which language dictionaries QTP's text recognition mechanism should use, update the supported language list in the registry.
1. Open the registry editor.
2. Navigate to HKEY_CURRENT_USER\SOFTWARE\Mercury Interactive\QTP\MicTest\OcrEngine.
3. Right-click on the supportedLanguages value, and select "Modify."
4. Set the value data to the language or languages to be supported. Use a comma to separate the languages.
Example:English,German,Spanish,French
Note:Combined hieroglyphic languages (CJK - Chinese, Japanese, or Korean) and non-hieroglyphic languages are not supported. For example: English,Japanese

5. Click .
6. Restart QTP.

No comments: