Micro Focus QTP (UFT) Forums
Chinese Symbols in QTP - 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: Chinese Symbols in QTP (/Thread-Chinese-Symbols-in-QTP)



Chinese Symbols in QTP - Bianca - 01-24-2011

Hi all,
I need to design a test in a web page with Chinese symbols.
Here as a code example:
Code:
SystemUtil.Run "C:\Program Files\Internet Explorer\iexplore.exe","","U:\","open"
Browser("Page1").Page("Page1").Sync
Browser("Page1").Navigate "http://www.beijing.gov.cn/"
Browser("Page1").Page("首都之窗-北京市政务门户网站").Link("“十一五”盘点").Click
Browser("“十一五”时期国民经济和社会发展盘点").Page("“十一五”时期国民经济和社会发展盘点").Link("“十一五”时期北京市基础设施发展情况").Click
Here all symbols can be read. But in the QTP editor or in the result view, the Chinese symbols are shown as unknown symbols “”
The test itself is running without any problems.
Dose any knows, if there is a plug-in or add-on for an European QTP to display these symbols?
Thank a lot
Bianca



RE: Chinese Symbols in QTP - fang - 03-21-2011

Hi Bianca,

I think it might not be a QTP issue.
Did you use XP? Here is my code on Win 7 enu OS and the symbols are shown correctly in Test Results Viewer.

Code:
Browser("首都之窗-北京市政务门户网站").Page("首都之窗-北京市政务门户网站").Link("“十一五”盘点").Click
Browser("Browser").Page("Page").Sync
Browser("Browser").CloseAllTabs
You can try your code on Chinese OS. I think it's better to test a localized webpage on a localized OS. Smile