Objects such as ActiveXObjects are extensions provided by the Windows Scripting Host's JavaScript interpreter and are therefore not available in Squish test scripts.
It is still possible to execute such commands by using Squish's
OS.system()
and
OS.capture()
functions.
For example:
It is even possible to execute Visual Basic scripts using this approach:
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.