In this section:

Basic Installation

Extract the contents of the parasoft_selenic.zip folder to your test machine. After configuring the license (see Licensing), you will be able to use Selenic on the command line. See the Command Line section for details on using Selenic on the command line.

IDE Installation

You can also install the Selenic IDE plugin, which enables you to import Selenic recommendations into the IDE, create new Selenium tests from recorded actions, and easily update test code. Selenic cannot currently run in the same IDE instance as other Parasoft tools (for example, SOAtest, Jtest, and so on). Deploy a separate instance of your IDE for installing Selenic. 

Eclipse

  1. If you have not already done so, extract the contents of the parasoft_selenic.zip folder to your test machine.
  2. Choose Help > Install New Software from the Eclipse menu.
  3. Click Add in the Available Software overlay and specify a name, such as "Selenic."
  4. Click Archive and browse for the selenic_eclipse_p2.zip file located in the <INSTALL>/eclipse/ directory and click Add. The browse window will close.
  5. Expand the Parasoft Selenic package and enable the Parasoft Selenic plug-in. 
  6. If your tests are written for the TestNG framework, you must also enable the Parasoft Selenic for TestNG plug-in. You can skip this step if your Selenium tests are written for JUnit. 
  7. Click Next and verify that the plug-in(s) you selected should be installed. 
  8. Click Next and review the installation details.
  9. Click Next and accept the license agreement when prompted.
  10. Click Finish and restart Eclipse when prompted to complete the installation.

You will need to configure your license settings to continue (see Licensing).

IntelliJ

The Selenic implementation for IntelliJ requires two plugins to be installed.

  1. If you have not already done so, extract the contents of the parasoft_selenic.zip folder to your test machine.
  2. Choose Preferences from the IntelliJ IDEA menu (macOS) or Settings from the File menu (Windows) and click Plugins in the sidebar. 
  3. Choose Install Plugin from Disk... from the gear icon menu and go to the <INSTALL>/intellij/ directory.
  4. Choose either the selenic_intellij_plugin.zip or parasoft_intellij_plugin.zip file and click Open. Both plug-ins are required and the order in which they are installed has no impact.
  5. Repeat step 3 and 4 to install the other plug-in.
  6. Click Apply and restart the IDE.  

You will need to configure your license settings to continue (see Licensing).

Installing Parasoft Recorder

Parasoft Recorder is a Chrome Browser extension shipped with Selenic that enables you to capture UI actions that Selenic can use to create Selenium tests and Selenium JUnit test projects. 

  1. Navigate to the <SELENIC_INSTALL>/recorder directory and run the Windows or MacOS installer.
  2. The installer will guide you through the process of adding Parasoft Recorder to your browser. It will also install SOAtest Web Proxy, which is required for generating API tests with SOAtest or collecting coverage in multi-session mode (see Test Impact Analysis).

Refer to the Parasoft Recorder documentation for complete installation and usage information.

Updating Selenic

This topic describes how to update Selenic.

Command Line

Use the following procedure to update Selenic for your command line implementation:

  1. Back up the selenic.properties file to another directory.
  2. Delete the existing <SELENIC_INSTALL> directory.
  3. Extract the newer version of the Selenic archive to the same directory as the previous version.
  4. Move the selenic.properties backup file from step 1 into the newly extracted <SELENIC_INSTALL> directory.  

IDE

An update site is added to your IDE repository when you install Selenic. This enables you to use your IDE functionality to update Selenic. The license for your Selenic IDE plug-in and Selenic run configurations and settings will be preserved.

Eclipse

  1. Go to Help > Check for Updates from the Eclipse menu. If a new version is available, it will appear in the Available Updates overlay.
  2. Select the update and click Next.
  3. Review and verify that you want to update Selenic and click Next.
  4. Accept the license agreement when prompted and click Finish.
  5. If you have not already trusted the Parasoft update site in your Eclipse Preferences (Eclipse Preferences > Install/Update > Trust > Authorities tab), you will be asked to do so now. Enable https://updates.parasoft.com and click Trust Selected. This will add the Parasoft update site as a trusted site in your preferences, so you won't see this dialog again.
  6. Restart Eclipse when prompted.

IntelliJ

  1. Open the IntelliJ Preferences screen and click Plugins.
  2. Locate the Parasoft Plugin and Parasoft Selenic plugins and click Update.

 

  • No labels