Recording on applications other than the first one is supported but these following restrictions apply:
The additional applications must be hooked by Squish.
The additional applications must be hooked via the same squishserver instance as the first application.
To record on a specific application the current application context must be set to the desired application context and recording be started then.
Here is a rough example that demonstrates the last point:
After executing to the breakpoint command you can use Squish | Record Snippet to start recording - on application1.
Note that you can also execute a script snippet like "{{setApplicationContext(applicationContextList()[0])}}" in the Script Console in the Squish IDE to change the application context to the desired application.
Advanced setting and waiting for application contexts¶
Here is an example (it won't work out of the box for you however) that introduces the functions setApplicationContextByName() and waitForApplicationContextByName(), both of which are useful when you rely on the Extra Window Watcher (see
Hooking arbitrary Windows applications
) to hook into other applications.
(The reason for introducing these functions is that the Extra Window Watcher hooks other (configured) applications more or less at a random time, so you do not know at what point in your test script execution they have been hooked.)
We would like to use Google Analytics to get a better understanding of how
you use the website.
By agreeing to this, your usage data will be stored in the USA and processed
by Google LLC. Both Google as well as federal US agencies can access this data
and combine it with any other data about you, such as your search history,
personal accounts or any other data known to Google.