List Icon
Archive de la liste de diffusion

La liste de diffusion est fermée depuis juillet 2022, mais sert toujours d'archive d'informations sur QF-Test.
Cependant, si vous souhaitez rester informé des nouveautés concernant QF-Test, vous pouvez simplement vous
abonner à la newsletter 

our obtenir des informations à jour sur chaque version - y compris les versions mineures - vous pouvez
nous pouvez vous abonner au flux RSS ou nous suivre sur les médias sociaux.
Alternativement, QF-Test fournit également des informations sur la version elle-même.

Une autre source d'information est notre blog, qui contient des articles actuels sur des thèmes généraux, sur l'entreprise QFS et aussi divers "how-tos", veuillez vous
ABonner au Blog


[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: "Tulaskar, Ashish" <Ashish.Tulaskar@?.com>
  • Date: Wed, 30 Apr 2014 10:20:32 +0000

Thanks Gregor for the reply.
I need to talk to original writer of the procedure which captures the logs, for feasibility of using Groovy script in procedure.
Anyways, thanks for prompt reply & clearing my doubt.




Regards,

Ashish Tulaskar
Contact: 07483353085
Infosys Technologies Limited
>From "town of boiled beans",
Karnataka, India

-----Original Message-----
From: Gregor Schmid [mailto:Gregor.Schmid@?.de]
Sent: 30 April 2014 11:52
To: qftest-list@?.de
Cc: Tulaskar, Ashish
Subject: Re: [QF-Test] Chinese characters in QFT


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