Mailingliste - Einträge 2005


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

Re: [qftestJUI] Encoding for setLocal


  • Subject: Re: [qftestJUI] Encoding for setLocal
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: Thu, 25 Aug 2005 18:42:01 -0000

Hi Ilango,

have you tried using hex code? E.g.

rc.setLocal("123\xe2\xac", myPrice)

You may still get unexpected results in the run-log "Setze lokale
variabl..." message, but what about the result in the SUT?


Best regards,
    Greg

<ilango.sriram@?.de> writes:

> Hi!
>
> It's me again!
>
> My present question is as follows:
> Which encoding do I have to use for strings returned from my SUT-Script to qftest JUI (containing ⬠Symbol)?
>
> ---
> Example
>
> SUT-Script:  rc.setLocal("123â¬", myPrice)
> Protokoll:   Setze lokale Variable 'myPrice' auf '123¬'
>
> SUT-Script:  rc.setLocal('-123'+ "â¬".encode("cp850"), myPrice)
> Protokoll:   Setze lokale Variable 'myPrice' auf '-123ª'
> (I've tried a couple of random encodings without success)
> ---
>
>
> Greetings,
> Ilango
--
Gregor Schmid                                Gregor.Schmid@?.de
Quality First Software GmbH                     http://www.qfs.de
Tulpenstr. 41                                Tel: +49 8171 919870
DE-82538 Geretsried                          Fax: +49 8171 919876



Videos Downloads Dokumentation Kaufen Gratis Testen