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 :
abonner à la newsletter
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] 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
|
1. Cookies fonctionnels
Nous utilisons des cookies fonctionnels pour garantir la fonctionnalité de base du site web.
2. Cookies de performance et de statistique
Nous utilisons Matomo pour analyser et améliorer notre site web. Des cookies permettent une collection anonyme des informations qui nous aident à vous offrir un visite clair et facile à utiliser de nos pages web.
This cookie contains a unique, pseudonymized visitor ID internal to Matomo for recognizing repeat visitors.
This cookie is used to track from which website the anonymized user proceeded to any page or sub-page.
The Matomo session cookie is used to track the visitor's page requests during the session. The cookie is automatically deleted at the end of each session (website visit), at the latest after one day.
is created and should be then directly deleted (used to check whether the visitor’s browser supports cookies).
short lived cookies used to temporarily store data for the visit.
short lived cookies used to temporarily store data for the visit.