Development: Update Windows UIAutomation (windows.dll) - TESTARtool/TESTAR_dev GitHub Wiki

Required tools to create a windows.dll to update UIAutomation API

In order to build the native code, a view of manual steps need to be executed;

  1. In order to build the windows native code, Nmake and the compile for Microsoft visual studio are required.
    These tools can be downloaded using the following links:
    Visual Studio 2017 Build Tools
    Visual Studio 2019 Build Tools
    Visual Studio 2022 Build Tools

  2. Build Tools packages needed:
    C++ tools, CLI tools, and one Windows SDK package for library dependencies.

  3. Open the windows/native_src/clean_w10.bat file, then adapt the Visual Studio PATH to your system:
    CALL "C:<*PATH*>\2017\BuildTools\Common7\Tools\VsDevCmd.bat" -arch=x64

  4. Execute the gradlew windowsDistribution task, which compiles at the Java level.
    Then uses nmake to compile the windows/native_src/Makefile_w10 file to create a new windows.dll file.

Windows 7 and Windows Server 2012

Windows 7 & Windows Server 2012 use different Windows API calls compared with Windows 10, 11, Server 2016, and Server 2019.

We have a branch that contains (testar/resources/windows7) and allows the compilation of this Windows 7 and Server 2012 DLL file.
https://github.com/TESTARtool/TESTAR_dev/tree/master_windows7
https://github.com/TESTARtool/TESTAR_dev/tree/master_windows7/testar/resources/windows7

A distributed version of TESTAR v2.5.0 ready to work with Windows 7 and Windows Server 2012 can be downloaded here:
https://github.com/TESTARtool/TESTAR_dev/releases/download/v2.5.0/testar_w7_2.5.0.zip

The open issues related to this TESTAR_w7 version can be found here:
https://github.com/TESTARtool/TESTAR_dev/issues/264

⚠️ **GitHub.com Fallback** ⚠️