Skip Menu |

This queue is for tickets about the Win32-GuiTest CPAN distribution.

Report information
The Basics
Id: 58370
Status: resolved
Priority: 0/
Queue: Win32-GuiTest

People
Owner: Nobody in particular
Requestors: heiko [...] hexco.de
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 1.57
Fixed in: (no value)



Subject: Tests 02_calc fail due to localization of the interface
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 of labels on two radio buttons: 'Dez' instead of 'Dec' and 'Okt' instead of 'Oct' see screenshot attached. Thanks for your work, hexcoder
Subject: calc_german.JPG
Download calc_german.JPG
image/pjpeg 33.7k
calc_german.JPG
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;
I wonder if there exists a reliable way to tell which language a particular windows installation uses? Couldn't be a locale or codepage ... That way the test could skip non-English texts.
test removed in 1.59