Activation via the command line

To activate your Squish Test Center instance from the command line, open a command line or shell prompt and change directories to the top-level directory of Squish Test Center.

Online-activation via the command line

With each Squish Test Center license, one can obtain an ACTIVATION_CODE. It is sent to you by email after purchase, but it can also be found from My Licenses. Select your Test Center User Subscription, and then select License Details.

With the ACTIVATION_CODE, issue the following command in the prompt:

$ bin/testcenter activate ACTIVATION_CODE
Activating Test Center
Reading database configuration for environment "product" from "/usr/local/squish/squish-testcenter-2.0.2-linux-x64/testcenter/config/database.ini"
DriverType: "QSQLITE"
DatabaseName: "db/teamserver.dbfile"
Absolute SQLite file path: "/usr/local/squish/squish-testcenter-2.0.2-linux-x64/testcenter/db/teamserver.dbfile"
Connect Options: "QSQLITE_BUSY_TIMEOUT=2147483647"
SQLite version: 3.24.0
Activation successful

If you see Activation successful then you have a working internet and do not need to perform the steps in the next section.

Offline-activation via the command line

If the Squish Test Center instance you are trying to activate cannot connect to the Internet or to the Squish Test Center Activation Server, you have to first generate the Machine ID of your instance.

With the ACTIVATION_CODE you previously received by email or online, issue the following command in the prompt:

$ bin/testcenter machineid ACTIVATION_CODE
Calculating machine ID
ClBST0RVQ1RJRD1LMk9VWQpPUz1MaW51eCB4ODZfNjQKUE9SVD04ODAwCg==

Copy the Machine ID to the clipboard and go back to your License Details page where you got the Activation Code. On the right, there is a License Self Activation section where you can paste the Machine ID. Paste it and click Activate.

Now the License Details page contains a License Key, you can copy to your clipboard.

To finish the activation process, issue the following command in the prompt:

$ bin/testcenter activate ACTIVATION_CODE LICENSE_KEY
Activating Test Center
Reading database configuration for environment "product" from "/usr/local/squish/squish-testcenter-2.0.2-linux-x64/testcenter/config/database.ini"
DriverType: "QSQLITE"
DatabaseName: "db/teamserver.dbfile"
Absolute SQLite file path: "/usr/local/squish/squish-testcenter-2.0.2-linux-x64/testcenter/db/teamserver.dbfile"
Connect Options: "QSQLITE_BUSY_TIMEOUT=2147483647"
SQLite version: 3.24.0
Activation successful

© 2023 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.