in reply to Automating a Win10 GUI

Have you considered Win32::GuiTest? I've used it in the past to automate funky, dare I say flaky old applications.

Replies are listed 'Best First'.
Re^2: Automating a Win10 GUI
by Marshall (Canon) on Jan 23, 2020 at 08:51 UTC
    I have heard about that module. When I run ActiveState ppm (Perl Package Manager), I don't see it as a package option for the latest AS version. There a lot of reasons why that could happen. I haven't investigated why that is yet.

    I am hoping to find a tool that does most of the work, with me just writing some small amount of extra code. I am hoping for an option better than Win32::GuiTest. If "GuiTest" winds up being "the answer", then likely follow-on questions will involve complicated build problems that Active State has not solved.

    Update: I installed the cpan module from Active State. And lo and behold, installation of Win32::GuiTest appeared to work. I will investigate this module further.

      Define better? The question you posted had a list of things you had to do in order to automate a couple of programs. The module I suggested provides convenient ways to achieve this. The module documentation is pretty clear on where to get a PPD file, how to build from source. I don't recall having issues with either method when using AS perl, or simply using cpan/cpanm. A quick search shows AS do offer a version, though perhaps not built for your version of AS perl. Make life easier in yourself, switch to Strawberry perl or just follow the documentation for building it yourself ;).

        Hi Marto!
        I mistakenly believed that compiling and installing a CPAN package into AS would be hard, because in the past it was! This was far easier than it used to be.

        I have updated my previous post with actual text of the installation. It appears to have worked and now I have some more homework to do.

        Thank you, Marto