Squish runs a small server (squishserver) that handles the
communication between the AUT and the test script. The test script is
executed by the squishrunner tool, which in turn connects to the
squishserver. The squishserver starts the AUT and injects the Squish
hook into it. The hook is a small library that makes the AUT’s live
running objects accessible and that can communicate with the
squishserver. With the hook in place, the squishserver can query AUT
objects regarding their state and can execute commands—all on behalf
of the squishrunner. And the squishrunner itself requests that the
AUT performs whatever actions the test script specifies. All the
communication takes place using network sockets which means that
everything can be done on a single machine, or the test script can be
executed on one machine and the AUT can be tested over the network on
another machine.
通配符和正则表达式
MainWindow_Wildcard = {
"type": "MainWindow", "windowTitle": Wildcard("Address Book*")}
MainWindow_Regex = {
"type": "MainWindow", "windowTitle": RegularExpression("Address Book.*")}
The Wildcard version uses * for the wildcard, and it st