Le Lun 14 Juin 2010 06:11:00, heiko@hexco.de a écrit :
Show quoted text> t/02_calc.t fails with two errors on cygwin and DOS command prompt:
>
> The german version of calc from Win XP has slightly different
versions
Show quoted text> of labels on two radio buttons:
> 'Dez' instead of 'Dec'
> and
> 'Okt' instead of 'Oct'
> see screenshot attached.
>
> Thanks for your work, hexcoder
Same problem in french, where the Dec button is called 'Déc' (with
acute accent).
I solved it by adding the following at line 88
($dec) = FindWindowLike($calc, "Déc") if !$dec;
and changed line 111 to
PushButton(GetWindowID($dec)); sleep 1;