Text not compared for Japanese & char read by OCR incorr

Hi,

I am doing POC for Asian language reading by egg plant and comparing this data with the translations what I have in the excel file.

I have following questions here.
1. I have created a script to convert Excel data(Japanese translation) into XML. Then I am reading the this data and comparing with AUT.
a. Some strings are being compared correctly and some are not. Even though in the log both strings are displayed same. I have kept the displayed text below. What could be the problem?

b. I can see the characters displayed on the screen and XML are same, but when OCR is reading those characters these are being read incorrectly..
What could be the problem?

I tried using the read text by mentioning the Font, removing the font while reading the data etc. but it doesn't compare.
I tried changing the encoding to "UTF8", "Unicode" or "JananeseEUC" but using these multiple options doesn't work for reading data.


Will this also impact for reading by OCR for SimplifiedChines and Korean character set?

Attached the detailed file with screen captures of application.


Logs:


12/15/14 6:01:39 PM Log XML String 準備完了
12/15/14 6:01:39 PM readtext (25,4,256,72)
12/15/14 6:01:39 PM Log Scr String 準備完了
12/15/14 6:01:39 PM LogSuccess String Matches for 準備完了

12/15/14 6:01:39 PM Log XML String 処理セットをスキャンするか、下のボウルサイズキー\nにタッチして自己血回収を有効にしてください。
12/15/14 6:01:40 PM readtext (203,119,592,179)
12/15/14 6:01:40 PM Log Scr String 処理セットをスキヤンするか、下のダウルサイガキ-\nにタッチして自己血回収を有効にしてください。
12/15/14 6:01:40 PM LogError String Does not match for 処理セットをスキャンするか、下のボウルサイズキー\nにタッチして自己血回収を有効にしてください。

12/15/14 6:01:40 PM Log XML String エリート吸引
12/15/14 6:01:40 PM readtext (268,9,500,48)
12/15/14 6:01:40 PM Log Scr String エリー卜吸引
12/15/14 6:01:40 PM LogError String Does not match for エリート吸引

12/15/14 6:01:40 PM Log XML String メニュー
12/15/14 6:01:40 PM readtext (691,8,794,54)
12/15/14 6:01:40 PM Log メニユ
12/15/14 6:01:40 PM Log Scr String メニユ
12/15/14 6:01:40 PM LogError String Does not match for メニュー

12/15/14 6:01:40 PM click mn_img_location.png at (742, 31)
12/15/14 6:01:43 PM Log XML String 表示の選択
12/15/14 6:01:43 PM readtext (621,10,791,51)
12/15/14 6:01:43 PM Log 表示の選捏
12/15/14 6:01:43 PM Log Scr String 表示の選捏
12/15/14 6:01:43 PM LogError String Does not match for 表示の選択

12/15/14 6:01:43 PM EndTestCase (Duration:"60.11", Errors:"4", Exceptions:"0", StartTime:"2014-12-15 18:00:43 +0530", Successes:"1", TestCase:"TC_187_New.script", Warnings:"0")
12/15/14 6:01:44 PM FAILURE Script Error Number of Errors logged: 4 -- Execution Time 0:01:00 TC_187_New.script
Sign In or Register to comment.