In this section:

Overview

Selenic will execute your tests, even if you do not have a license. Self-healing and other features, however, will be disabled unless the product is licensed.

Open the license.properties file in the Selenic installation directory to configure your license settings. You can configure Selenic to use a local license, a license served from DTP, or a license served from License Server. For your convenience, all possible properties are included and commented out in the license.properties file. Uncomment the applicable properties and specify their values.

Local License

You will need to provide your Parasoft representative with the machine ID so that we can generate a local license.

You can get the machine ID by running Selenic on the command line prior to configuring the license. Selenic will execute your tests and print the machine ID to the console. The machine ID is also printed to the Machine ID field of the Parasoft Preferences License field after installing the IDE plug-in.
Send your machine ID to Parasoft and we will send a license password that you can provide in the license.properties file.

Locate the LOCAL LICENSE section and specify the following properties:

selenic.license.use_network=true
selenic.license.local.password=<license password from Parasoft> 

DTP License

Parasoft DTP is a development testing analytics and reporting platform that can host and server Parasoft licenses.

Locate the NETWORK LICENSE section and specify the following properties:

selenic.license.use_network=true
selenic.license.network.type=dtp

Locate the DTP SERVER SETTINGS section and specify the following properties:

dtp.server=<host where DTP is installed>
dtp.port=<port number for DTP>
dtp.user=<username for logging into DTP>
dtp.password=<password for logging into DTP>

You can run the selenic_analyzer.jar file with the -encodepass  property to encode your password. See -encodepass <password> for details.

License Server

License Server is a lightweight repository that centralizes your Parasoft licenses.

Locate the NETWORK LICENSE section and specify the following properties:

selenic.license.use_network=true
selenic.license.network.type=ls

Locate the LICENSE SERVER STANDALONE SETTINGS section and specify the following properties:

license.network.custom.enabled=true
license.network.host=<server where License Server is hosted>
license.network.port=<port number for License Server>

Licensing the IDE Plug-in

The IDE plug-in enables you to import and convert UI transaction recorded with the Parasoft Smart Recorder into Selenium tests. The IDE also provides a user interface for working with Selenic features, such as viewing recommendations. You can configure the plug-in to use a local license or to retrieve a license from License Server or DTP.

Local License

You will need to provide your Parasoft representative with the machine ID so that we can generate a local license. The machine ID is printed to the Machine ID field of the Parasoft Preferences License field after installing the IDE plug-in. Send your machine ID to Parasoft and we will send a license password that you can provide in the Password field.

  1. Choose Parasoft > Preference from the Eclipse menu.
  2. Choose license and enable the Local license option.
  3. Specify the the password sent to you from Parasoft. 
  4. Click Apply.

DTP

The network license configuration is set to DTP by default, so if DTP is enabled then Selenic will retrieve a license from DTP unless a License Server is configured per the License Server section. 

  1. Choose Parasoft > Preferences... from the Eclipse menu.
  2. Choose DTP and enable the Enable option.
  3. Specify the following information:
    1. Name of the DTP host machine or IP address
    2. Port number for DTP
    3. Username and password
  4. Click Test Connection to verify that Selenic can connect to DTP.
  5. Click Apply.

License Server 

  1. Choose Parasoft > Preferences... from the Eclipse menu.
  2. Choose License and enable the Network license option.
  3. Click the Configure… link in the License settings section. By default, the network license configuration is set to DTP.
  4. Enable the User the following License Server option and specify host and port number where License Server is hosted.
  5. If License Server is configured to authenticate user access, enable the Enable authentication option and specify your login credentials. 
  6. Click Test Connection to verify that Selenic can connect to License Server.
  7. Click OK to close the network configuration dialog and click Apply.

About License Editions

You can configure specific license editions, which enables a set of functionality based on your role.

#selenic.license.network.edition=automation_edition
#selenic.license.network.edition=desktop_edition
#selenic.license.network.edition=custom_edition
  • The desktop_edition enables features for desktop end-users.
  • The automation_edition enables features for automation engineers.
  • The custom_edition enables a la carte features per your license agreement with Parasoft.
  • No labels