Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: wftk [...] vivtek.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: Window location doesn't seem to work under Windows 7
This looks like a module I wish I'd known about years ago! I'm currently running Windows 7, though, and many tests are failing; it would appear that it's not finding windows reliably. Possibly the titles are different under Windows 7, I don't know yet. I'm going to try to fix the test suite to make it work.
On closer examination, it seems that windows are (sometimes) not being activated/set to foreground when the test suite expects them to be. The result is utter confusion. I had thought an explicit call to SetForegroundWindow would do the trick, but it doesn't seem to be working.
Never mind - the Notepad test was confused because I had Programmer's Notepad open (sigh), and the calculator test just plain won't work because the new calculator's class names and structure are completely different. (I'd actually never noticed the "Programmer" mode on the calculator application under Win7 - rather sweet!) I made a couple of minor modifications to the unit tests - including bailing entirely on 02_calc if the class name is the new Windows 7 calculator class - in order to make all the unit tests run OK under Windows 7. I'm embarrassed to admit I'm not sure how to generate a diff, so if you're interested in the changes, tell me and I will try to figure out how to report them.
You're welcome to send patches here (best in attachment, if longer than 6-7 lines)
Subject: Re: [rt.cpan.org #56282] Window location doesn't seem to work under Windows 7
Date: Sun, 04 Apr 2010 15:58:10 -0400
To: bug-Win32-GuiTest [...] rt.cpan.org
From: Michael Roberts <michael [...] vivtek.com>
Thanks!

Message body is not shown because sender requested not to inline it.