On 04/08/2011 05:56 PM, Dmitry Karasik wrote:
> On Fri, Apr 08, 2011 at 04:56:46PM -0400, David Dombrowsky wrote:
>> The following code fails when using the SelTabItem or GetTabItems call
>> in version 1.58 of Win32::GuiTest, compiled using cygwin gcc and perl.
>> my ($tabctl) = FindWindowLike($configwin,undef,"^SysTabControl32");
>> printf("Tab %x\n",$tabctl);
>> my @t = GetTabItems($tabctl); print("\t".join(",",@t)."\n");
>> The windows flash around, but the tab is not selected and there's a few
>> other nasty system error messages.
> Hi David
> It looks like there's no enough information on the bug so I can neither
> reproduce nor confirm the problem. If you have a possibility to debug and find
> the cause yourself, -- or, at least, to send me a simple case I could use to test,
> it would be great.
Unfortunately I cannot provide you with the binary I'm testing, since
it's proprietary and all that fun stuff. I'll look into building a
mock-up for testing that I could provide to you. I take it this isn't a
problem that's been reported before?
Running the test with debugging on doesn't yield any results. The
resulting output from the code snippit above is:
Using class pattern (^SysTabControl32)
Window Found(Text : '' Class : 'SysTabControl32' Handle: '590232')
I'll see if I can come back with an example executable to demonstrate
the failure of GetTabItems().
>> BTW, is Win32::GuiTest still an active project? Only a handful of
> That depends on definition of 'active', I guess. It's not dead, that's for sure.
Good to know. Sorry if that sounded condescending, it wasn't my intent.
It's just that sometimes I'll ask for help and devs will say something
like "this was replaced by project XYZ 3 years ago. Go away". I
certainly appreciate the project and will help if I can.
David Dombrowsky, Software Engineer
Sixnet LLC | http://www.sixnet.com | david.dombrowsky@...
Tel: +1-518-877-5173 x161
GnuPG Key ID: DD4D32C6 2010-11-23