2017 up to now  | 2016 | 2015 | 2014 | 2013 | 2012 | 2011 | 2010 | 2009 | 2008 | 2007

(older archive entries before 2007 are not shown here, but included in the onsite-search)

Mailing List - Entries of 2014


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [QF-Test] Chinese characters in QFT


  • Subject: Re: [QF-Test] Chinese characters in QFT
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: Wed, 30 Apr 2014 08:22:24 +0200

Hello Ashish,

basically QF-Test should be able to handle Chinese characters, but
problems may arise at various points when reading files or converting
strings. Jython in particular can be a problem here as its default
strings are 8bit-based. Have you tried the same using a Groovy script?

A lot depends on the details. If you can't get it to work, please send
your test-suite and a run-log to our support.

Best regards,
    Greg

"Tulaskar, Ashish" <Ashish.Tulaskar@?.com> writes:

> Hi,
>
> We are using QFT for the automation of encoders/multiplexers like broadcast equipments. In one of
> the automated test case, I need to extract Chinese characters(simple & traditional) from a log
> file (.txt file) & assign them to a variable (global variable) in QFT for further processing.
> We have a procedure which accesses the analyser & generates .txt log file on one remote machine.
> Same procedure copies/transfers the content of the log file(whole content including Chinese
> characters & normal English) to a global variable in QFT.
> Now I am facing a problem that while data getting assigned to variable, Chinese characters gets
> corrupted & it becomes useless for further processing. I tried several ways to overcome this using
> Jython script, but it is of no use. So can any one suggest me how to get proper Chinese characters
> in variable in QFT from log file?
> Thanks for your valuable reply.
>
> Regards,
>
> Ashish Tulaskar
> +91 7483353085

--
Gregor Schmid

E: gregor.schmid@?.de
T: +49 (0)8171 38648-11
F: +49 (0)8171 38648-16

Quality First Software GmbH | www.qfs.de
Tulpenstr. 41 | 82538 Geretsried | Germany
GF Gregor Schmid, Karlheinz Kellerer
HRB München 140833