This section describes various use cases and best practices for recording scripts with LoadNinja.
To avoid issues during the playback, make sure the script recorder has fully loaded the page before interacting with elements on this page. Keep this in mind when starting recording and navigating between pages during testing.
LoadNinja supports recording of various interactions with websites. However, some elements require that you perform additional actions for correct recording.
To record user interactions with the drop-down list that appears when the mouse pointer is hovering over an element, we recommend that you always click that element even if you don’t need to do that when working with the website.
In order for LoadNinja to record the drop-down list in the expanded state properly, wait for 3 seconds before clicking.
When recording interactions with form fields — especially with long ones — place the mouse pointer closer to the starting zone of the needed form field. Usually, it is in the left part of the form field.
Tip: To find the boundaries of a form field’s starting zone, move the mouse pointer over the field and wait for the pointer to change its shape.
LoadNinja supports parameterized data-driven testing, with .csv and .txt files used as a data source. Record scripts that require varying input, parameterize URLs, or get wider coverage on your website performance.
To learn how to use data sources in your tests, see Using Databanks in LoadNinja Tests.