You can use Parasoft Recorder to record UI Actions and save them to a file that can be imported into an IDE with the Selenic plug-in enabled to create Selenium tests. As part of your recording, you can also record assertions on text in UI elements.
Recording UI Actions
- Navigate to the web application you want to generate tests from and click the Parasoft extension icon.
- Enable UI Actions for Parasoft Selenic.
- Click Start Recording and perform your test scenario.
- When finished, click the Parasoft extension icon and choose Stop Recording.
- Specify information about the actions your captured when prompted. By default, the application domain and a time stamp indicating when recording began are used for the test name. Descriptions help other users understand the user experience the test is intended to verify. You can also associate tests with artifacts in your requirements and/or defect tracking system. All of the test information will be added as Javadoc comment when the file is used to generate a Selenium test in Selenic.
- Click Continue and save the file.
You can import the recorded UI actions into an IDE with the Selenic plug-in enabled to create Selenium tests. See Creating Selenium Test Projects from Recorded Actions for details on next steps.
Asserting Element Text
You can record assertions on text in UI elements as you record actions. The assertions are added to Selenium tests created in Parasoft Selenic.
- Start a UI test session as described above and click the Parasoft icon to open the Parasoft Recorder actions.
- Click Assert Text to enter assertion mode.
- The pointer will change into crosshairs and elements that you hover the crosshairs over will be outlined.
- Click on the element to capture the assertion.
- Click Confirm in the Assert Text dialog to accept the asserted value. You can also make modifications to the text in the Value field. The locator selected for the assertion appears in the Locator field. You can also click Cancel to exit assertion mode without asserting the text.
- Complete your test session and download the recording as described in Recording UI Actions.


