The Script Recorder captures web interactions generating scripts in C, Java, and JavaScript. Users can use WebClickAndScript to record RBU scripts so that it can record any user interaction in the browser like a real browser user. Use Real Device Testing (RDT) to record any application in a real device. At the time of recording any web URL user can also configure the recording profile so that they set how the browser will behave at that time of recording and how the page will be recorded.

Script Recorder

After filling in all these details user can click on record to record the required URL or the application.

Recording Profile Details

Use the Recording Profile option to create recording profiles where you can save the recording settings for your script. You can create one or more recording profiles and then select a recording profile while recording your script. To create a recording profile:

Configure settings in the Recorder Option section. For example, you can specify the browsing option, script and LoadTest settings, and methods for recording a script. Specify a name for your recording profile in the Recording Profile field.

Browser options: Browser options have the following types:

Note: The Incognito mode will be activated once these three options have been selected.

Split Page Options: This option customizes how URLs are treated in the recorded script. Use criteria

like time duration or HTTP methods (POST, PUT, HEAD, etc.) to split the pages and designate the main URL. While recording a script, the page can be split using the below options:

LoadTest Browsing option

The LoadTest Browser option refers to a specific browsing mode used within performance testing tools, primarily employed for simulating user interactions and conducting performance tests in controlled testing environments.

User Agent String: Users can choose the User Agent from the drop-down that will be used in the browser. The Default User agent is Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36.

Configure proxy server for recording

In this section, the user can configure a proxy server for recording. A proxy server is a server that acts as an intermediary for requests from clients seeking resources from other servers. A client connects to the proxy server, requesting some service, such as a file, connection, web page, or another resource available from a different server and the proxy server evaluates the request as a way to simplify and control its complexity.

Advanced Setting

Header Setting

The purpose of the header setting section is to manually specify the header name and its value with the URL pattern. Users can add more than one header in the script. Users can also replace or append the header. In the case of Replace, the specified header replaces the existing header. In the case of Append, the specified header is appended to the existing header. Users can also delete the added header.

Cookie Setting

The purpose of the cookie setting section is to manually specify the cookie name and its value. Users can add more than one cookie to the script by clicking the More Cookie button.

Script Settings

Add Transaction in Recorded Script

You can specify the settings for adding a transaction in the recorded script by selecting one of the following options:

Record Default Header in Flow File

While recording, some browser default headers are not recorded which are Accept, accept-Encoding, Keep Alive, User-agent, Host, Connection, and referrer because these headers are added by the browser while sending a request to the server.

In some cases, if the user wants to record headers, such as Referer, and user agent string in the flow file of the script, LoadTest can send only those headers which are present in the flow file of the script. In this case, the user needs to record all headers in the flow file of the script. For this, the Advanced tab for Header recording is implemented in Script Manager GUI.

If the user selects the All check box, All Headers checkboxes are enabled and displayed in the flow file of the recorded script. Users select any of the header checkboxes provided.

Exclude URL Filter

To exclude any URL from the recorded script, give the URL pattern in the text box. During the recording, any URL that matches the specified pattern will not be included in the recorded script.

Custom Selector Attribute

In WebClickAndScript, all attributes are automatically recorded and used as selectors by default. However, if the user wants to prioritize a specific selector, they can specify it here.