Unanswered question

how i can use expression in java script to get value from page?

i have one scenario like i have one extracted variable "A"
and other variable "B", i want to put one condition in java script that if "A" containing some value then assign to"B"

now i want to know how i can extract value from "A" and set in B in java-script ?

Rashmi A.
Rashmi A.

Rashmi A.

65 / 100


From a Javascript, if you would like to get the content of any NeoLoad variable, you need to use a method like this:

var MyValue=context.variableManager.getValue("VariableA");

In order to store a value into a variable you need to use something like that:


That will store the content of MyValue into your VariableB.