Micro Focus QTP (UFT) Forums
One test for different websites - QTP 9.5 - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: One test for different websites - QTP 9.5 (/Thread-One-test-for-different-websites-QTP-9-5)



One test for different websites - QTP 9.5 - Sarvesh Mehra - 12-07-2009

[b][b]Hello,

I am using QTP 9.5. I have to run a test (recorded for a website) on multiple websites. How it can be done? If tried it by changing run URL but it gives error "object cannot be identified."

To elloborate, I have a website created in english language and there are many other version of this website are created in different languages like Korean, Japanese, German etc. I want to automate text checking in all websites.

I have recorded the english website and parameterized its content through standard checkpoint so that QTP could check it on runtime from data table.

My plan was to replace data in datatables to check same website in different language but it is not working. I do have translations in excel sheet.

I am new to QTP, kindly help.

Regards
Sarvesh


RE: One test for different websites - QTP 9.5 - sreekanth chilam - 12-07-2009

Hi Sarvesh,

From QTP 9.2 V, HP introduced a new text recognition mechanism.

Note:
The information provided here applies to QTP 9.2 or higher versions only.

QuickTest Professional supports Single Byte languages.
QuickTest Professional supports most popular single byte languages, such as French, German, Danish, Hebrew, Portugues, Spanish, Dutch, Finnish, Italian, Swedish, and Norwegian.

Solution:
Modify the supported Languages value for the Text Recognition Registry key.To indicate which language dictionaries QuickTest Professional's text recognition mechanism should use, update the supported language list in the registry.

Follow the below steps:
1. Open the registry editor.
2. Navigate to HKEY_CURRENT_USER\SOFTWARE\Mercury Interactive\QuickTest Professional\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 ',' 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 <OK>
6. Restart QTP

Now try it out & see Smile


RE: One test for different websites - QTP 9.5 - Sarvesh Mehra - 12-07-2009

Hi Sreekanth,

Thanks for your reply. Could you please help me on how to use multi-language support on QTP? I am new to it and have very less knowledge of QTP.

Also could you please tell me any website or free online tutorials were I can get information on QTP.

Regards,
Sarvesh


RE: One test for different websites - QTP 9.5 - rajsunder_r - 04-12-2012

Hi Sree,

Could you please let me know if this setting is enough to execute a script recorded in english to work for any languages that is set as per your suggestion, or we need to record same sceanrios in different languages.Kindly Help. Very Urgent.