Use User Credentials in Recorder
You can load user credentials defined in your project’s test data into Recorder. You can also retrieve Time-based One-Time Passwords (TOTP) for users during two-factor authentication (2FA) testing.
Use different user credentials to test login for multiple user roles (e.g., Admin, Editor, Viewer).
This allows you to load and parameterize user credentials dynamically to verify role-based access control without hardcoding credentials.
Before you begin
Ensure that you have added at least one user credentials to your project so they can be used in the Recorder.
Loading User Credentials in Recorder
Follow these steps to load user credentials in Recorder:
Expand the Recorder to view the Test Data tab.
In Recording Mode, click the plus icon at the top right and select Load Test Data Step.
Select Load from user presets, choose the test user, and click Load. A new parameter
user
will be added to the Example section, and the user credentials will be loaded into the Test Data.Use the loaded test data in your recording for login or other scenarios. In the Examples section, values will be automatically replaced with {{}} syntax, making fields like password and TOTP dynamic based on the test user data set from the Test Data page.
NOTE
You can change the user
parameter value to a different test user's email, ensuring that the corresponding credentials are used during the test.