how can i use a Property in Javascript step
closing it as if figured out ..
i was not using double quotes
so Var X = {{StepResponse}}
doesn't work but below does
Var X = "{{StepResponse}}"
StepResponse is available as a variable directly.
Vax X = StepResponse;
would also work.
Thanks for the help
For added safety, I always use
var x = testExec.getStateValue("propertyName");
I can force type, if required. For example, if I want to force a string, it would be:
String x = testExec.getStateString("propertyName", "defaultValue");