14 Nov 2019 12:47 PM
Iam currently having a step which generates a random text and populates the value in text field.
But the value is not getting populated in the further pages.
Basically I removed a keystroke step which had a hardcoded value and replaced it with JavaScript code.
I want to pass JavaScript output to "textValue" field for keystroke.
Solved! Go to Solution.
22 Nov 2019 09:01 AM
Hi Sanjeev,
you can do this easily by using placeholders.
1. Create a javascript step and use the api to create a new placeholder variable.
api.setValue("key", "value");
2. Use the defined key as a placeholder for fields where its possible to use them like keystroke events.