How to Test macOS Applications

The macOS Convenience API provides functions for executing common user interface actions.

How Accessibility Support Works

Squish for Mac can leverage the accessibility features of macOS to access GUI components that are otherwise unsupported in Squish. This enables Squish to interact with pure SwiftUI interfaces, for example. It will detect windows created through SwiftUI and automatically use accessibility for testing. There is no need for manual configuration. Recording tests on Cocoa windows (NSWindow) and web views (WKWebView) continues to work as usual as well.

Accessibility support is built into Squish for Mac, therefore it is only available when testing native macOS applications. In case of undesired behavior accessibility support can be switched off in $SQUISH_PREFIX/etc/macwrapper.ini.

© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners.
The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.
Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.