Recorder Basics
This section covers the basic functionalities of the BlinqIO AI Recorder to help you start recording test scenarios.
Before You Begin
Make sure you've completed the Getting Started process.
Launching the Recorder
To launch the AI Recorder:
- Open your project and switch to the desired environment.
- Click Run Scenario at the top, then select Continue in app.
Pause and Resume Recording
The Recorder always starts in Recording mode, indicated by a red Pause button at the top. To pause the recording, click the Pause button, which will change to Continue.
Things to note
- When recording is paused, actions performed in the web browser will not be recorded.
- Options such as Run Scenario, Refresh, and Change environment are only available in Pause mode.
Recording Your Test
To record your test steps:
- Ensure the Recorder is in Recording mode.
- Perform actions in the browser. The Recorder will capture your actions in real-time and generate corresponding test steps and code.
Refresh Browser
Click the Reload icon at the top to refresh the browser window containing your application under test. Refreshing resets cookies and brings the application back to its initial state.
WARNING
Do not refresh the browser directly. Always use the Recorder's refresh button.
Playing Back Recorded Steps (Run Scenario)
Use Run Scenario to play back recorded steps before publishing the recording. This helps verify that the steps are correct and will run as expected.
To play back a scenario:
- Record your steps in Recording mode.
- Pause the recording.
- Refresh the browser.
- Click Run Scenario.
View Test Parameters (Examples)
The Recorder automatically recognizes test data in your steps and parameterizes them in the Examples section. Use the expand button to open the BlinqIO Editor and view the test parameters.
TIP
You can adjust parameter values and rerun tests with the updated data.
Publish Recording
Once your recording is finalized, click Publish. Enter a Feature Name and Scenario Name, then confirm by clicking Publish. The code generation process takes a few seconds.
You will then have two options:
View Code in VS Code
This option opens the generated code in Visual Studio Code.
Not working?
Ensure the code
command is added to your PATH
View Scenario in the Web App
This option opens the generated Gherkin scenario in your BlinqIO account. You’ll see a green check mark next to the scenario steps, indicating the steps have been implemented.
TIP
See understanding Gherkin scenarios to know more.