Page tree

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

You can record user actions using Parasoft Recorder and import the actions into an existing Selenium test project. Selenic will convert the imported actions into pure Selenium tests that conform to the page object model. The page object model is a best practice for structuring maintainable Selenium tests. 

Eclipse

Prerequisites

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

Instructions

  1. Open your existing Selenium project and choose the project source folder.
  2. Click the Create Selenium Test from Recording button.

  3. Browse to the UI actions file you downloaded and specify a package, class, and test name. 
  4. Click Finish to import the actions and create the test. 
  5. Select the test and click the Selenic run configuration launcher button to execute the test and generate a run configuration.
  6. The Selenic run configuration will contain default settings, but you can modify the configuration as necessary. See Selenic Run Configurations

When you Selenic will monitor the test during subsequent executions and be able to provide recommendations if the test fails in future. See Viewing Results.

IntelliJ

Prerequisites

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

Instructions

  1. Open your existing Selenium project and choose the test source folder in your project.
  2. Click the Create Selenium Test from Recording button.
  3. Browse to the UI actions file you downloaded and specify a package, class, and test name. 
  4. Click Finish to import the actions and create the test. 
  5. Right-click click the new test in the project explorer and choose Run <test> with Selenic. The test will execute and generate a run configuration. 
  6. The Selenic run configuration will contain default settings, but you can modify the configuration as necessary. See Selenic Run Configurations

When you Selenic will monitor the test during subsequent executions and be able to provide recommendations if the test fails in future. See Viewing Results.

  • No labels