Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Chinese Symbols in QTP
#1
Solved: 11 Years, 4 Months ago
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
Reply
#2
Solved: 11 Years, 4 Months ago Wink 
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
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Trouble Getting UFT to Work with Simplified Chinese hhamilton 2 3,036 03-10-2016, 09:35 AM
Last Post: vinod123

Forum Jump:


Users browsing this thread: 2 Guest(s)