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.
- If you have not already done so, extract the contents of the parasoft_selenic.zip folder to your test machine.
- Choose Help > Install New Software from the Eclipse menu
- Click Add in the Available Software overlay and specify a name, i.e., Selenic.
- 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.
- Choose Parasoft Selenic and in the Available Software overlay and click Next. If your tests are written for the TestNG framework, you can also install the Parasoft Selenic for TestNG plug-in. Both plug-ins are required to use Selenic in the IDE, even if you only use the TestNG framework.
- Review the installation details and click Next.
- Accept the user agreement and click Finish.
- Restart Eclipse when prompted.
You will need to configure your license settings to continue (see Licensing).
Co-installing Selenic with other Parasoft tools is not currently supported
Selenic cannot currently run in the same Eclipse instance as other Parasoft tools (e.g., SOAtest, Jtest, etc.). Deploy a separate instance of Eclipse for installing Selenic.
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.
- Navigate to the <SELENIC_INSTALL>/recorder directory and run the Windows or MacOS installer.
- 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
Use the following procedure to update Selenic for your command line implementation:
- Move the selenic.properties file to another directory
- Delete the existing <SELENIC_INSTALL> directory.
- Extract the newer version of the Selenic archive to the same directory as the previous version.
- Move the selenic.properties file into the the newly extracted <SELENIC_INSTALL> directory.
Use the p2 update site to update the Selenic IDE plug-in.
- Choose Help> Check for Updates from the Eclipse menu. If a new version is available, it will appear in the Available Updates overlay.
- Select the update and click Next.
- Review and verify that you want to update Selenic and click Next.
- Accept the license agreement when prompted and click Finish.
- Restart Eclipse when prompted.
The license for your Selenic IDE plug-in and Selenic run configurations and settings will be preserved.