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.
- Choose Parasoft > Preference from the Eclipse menu.
- Choose license and enable the Local license option.
- Specify the the password sent to you from Parasoft.
- 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.
- Choose Parasoft > Preferences... from the Eclipse menu.
- Choose DTP and enable the Enable option.
- Specify the following information:
- Name of the DTP host machine or IP address
- Port number for DTP
- Username and password
- Click Test Connection to verify that Selenic can connect to DTP.
- Click Apply.
License Server
- Choose Parasoft > Preferences... from the Eclipse menu.
- Choose License and enable the Network license option.
- Click the Configure… link in the License settings section. By default, the network license configuration is set to DTP.
- Enable the User the following License Server option and specify host and port number where License Server is hosted.
- If License Server is configured to authenticate user access, enable the Enable authentication option and specify your login credentials.
- Click Test Connection to verify that Selenic can connect to License Server.
- 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.