If you want to automate a Java stand-alone application in addition to a web browser, we recommend that you ask for a custom build of Squish for Web+Java. This build will have support for browser configurations in server settings, as well as AUT configuration in the Test Suite settings, and you can request a 64-bit or 32-bit build to match your installation of Java properly.
In our first example, we create a test suite that is for the Java toolkit (we have to choose one). Generally, you must store the application context of each AUT so
that you can switch back to it later. Switching application contexts is done with
Also, before starting the second application we wish to
automate, since it is using a different toolkit from the test suite, it is necessary
to call testSettings.setWrappersForApplication() on it. In the case of web
applications, the name of the web browser application is __squish_webhook.
For example in a Python script:
Now, by placing breakpoints in the right spot, you can record snippets on your java or your web application.
If the test suite is created for the web toolkit, then we must call
testSettings.setWrappersForApplication() on the standalone Java
application. We can obtain and save the ctx_web = currentApplicationContext() after we call startBrowser().
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.