Skip Menu |

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

Report information
The Basics
Id: 129369
Status: open
Priority: 0/
Queue: Win32-GuiTest

People
Owner: Nobody in particular
Requestors: glenn-rey.arcay [...] teradyne.com
Cc:
AdminCc:

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



Subject: Win32::GuiTest version 1.58 ---> method "IsCheckedButton" not working on new MFC button version
Date: Tue, 30 Apr 2019 19:12:40 +0800
To: bug-Win32-GuiTest [...] rt.cpan.org
From: glenn-rey.arcay [...] teradyne.com
Hi Sir, Good day to you! I've been using your module, GuiTest, in automating test on our software. Recently, an upgrade has been implemented on our software which includes changes on the classnames of the GUI controls. Unfortunately, this affect the functionability on some GuiTest methods specifically "IsCheckedButtod" and "IsGrayedButton" These methods, when called, always returns 0 even if the button is already checked/is disabled. The only difference I could see between the two software are the classnames and style, see below.. The left is the previous while the right is the new one. Can you please advise if the classname/style affect your module? Thanks, Glenn Rey Arcay
Download (untitled)
image/gif 17.1k
(untitled)
Download (untitled)
image/gif 16k
(untitled)
Hello Your application underlying toolkit seems to have changed from native Win32 API to Windows Forms. The module checks for checked state using BM_GETCHECK message that Windows Forms doesn't seem to support. You're welcome to investigate if there are comparable APIs that can be used programmaticaly for that, and submit a patch to the code and/or documentation Regards, Dmitry