Page tree

Skip to end of metadata
Go to start of metadata

You can record UI actions with Parasoft Recorder and use them to create new Selenium test projects in the IDE. In this section:

Prerequisites

If you have not already done so, perform the following actions:

Eclipse

  1. Choose Selenium Java Project from Recording from the new items button.
  2. Configure the following settings:
    1. Specify a name for the project.
    2. Browse for the JSON file containing the recorded UI actions.
    3. Specify the Java package to create for your test classes.
    4. Specify the class name for the test you are using to create the project.
    5. Specify a name for the test.  
  3. Click Finish.

A Java project with all associated dependencies will be created in your workspace based on the framework you configured (see Configuring Test Creation Settings). Selenic will also create a Selenium test from the recorded actions and add the test to the project.  

The test will be created with the default run configuration settings. See Selenic Run Configurations for information about modifying the run configuration settings.

IntelliJ

  1. Choose File> New...> Project from the IntelliJ menu.
  2. Choose Selenium Java Project from Recording and configure the following settings:
    1. Browse for the JSON file containing the recorded UI actions.
    2. Specify the Java package to create for your test classes.
    3. Specify the class name for the test you are using to create the project.
    4. Specify a name for the test.  
  3. Click Next and specify a name and workspace for your project.
  4. Click Finish.

A Java project with all associated dependencies will be created in your workspace based on the framework you configured (see Configuring Test Creation Settings). Selenic will also create a Selenium test from the recorded actions and add the test to the project.  

The test will be created with the default run configuration settings. See Selenic Run Configurations for information about modifying the run configuration settings.

  • No labels