Skip to main content

Configure JavaScript DPL Data

Introduction

Configure

All Functions and Methods

JavaScript DPL in Test Designer

Data

Use a JavaScript DPL inwhen Scenariotest Editor

data

JavaScriptneeds DPLlightweight intransformation AISG

before

Introduction:

JavaScript DPLit is aconsumed data production library generator, that generatesby a CSV file with JavaScript functions and methods which could be evaluated during run time or it will generate an evaluated CSV file with the selected functions and methods which could be used in data driving scripts in Test Designer, data driving scripts in Scenario Editor andtest. also during AISG of an application.

Navigate to Javascript DPL fromKeep the leftscript navigationfocused panel.

on data

Thepreparation; nextavoid stepplacing istest toflow, addbrowser theautomation, requiredcredentials, columnsor andenvironment-specific rowspaths to createin the DPL.

Click

Column
  • Normalize buttonor format values before sending them to the application under test.
  • Combine fields from an approved data source into a value required by a step.
  • Generate simple derived values that are safe to calculate at theruntime.
bottom,

Validation providechecklist

  1. Confirm the columnJavaScript name and click Create & Close

    Use Add row button to add as many rows as required.

    On any given cell, clickreturns the ="expected linkvalue for a small sample.

  2. Handle empty or clickmalformed input values predictably.
  3. Verify the columnDPL namemapping forin enteringa datashort Scenario Editor execution before scaling the test.

Do not embed secrets in the entireDPL column.script. Store credentials and environment-specific settings in approved configuration locations.

Choose the required Function from the functions drop-down and choose a method (depending on the function chosen) and click the green tick mark for the function and method (if available) to be added to all the row(s).

Similarly, there are several functions and methods that could be chosen from the list.

You can also click Help Locator to get some of the formats and examples.

After selecting the required functions and methods, it is time to save the file. Click File > Save, choose the location where you want to save the file. Click Save.

Once the file is saved you could download the created file either as a JavaScript CSV file (with functions and methods) which will be evaluated during the run-time or you could evaluate using the evaluate symbol on the top right and then download the file as well.

You can click the Evaluate button to check the evaluated values and undo the evaluation to undo the evaluation done.


Last updated: JuneSeptember 26,18, 20232026

If you have any feedback on this topic, please contact us at documentation@appvance.ai