One of our test scenario to be realized by recorder is to test the function of "Forget password", more speicifically, that will user do is to click on the button and then within a few seconds, a mail notification with user's new password with be received , with which we need to go back to the webservice to reset the password.
I created a custom script, follow by the click action (click on the mail) and wait action(if necessary) to retrieve and store the value in the variable defined in the script. But the problem is that I dont know how can l apply this variable in the formfill action.
Otherwise if possible to assign the parametre defined in the script by the custom script, the problem can be solved too.
Answer by Adam G. ·
Hi Shunjie, you've posted this in Enterprise monitoring, but in case you mean Dynatrace synthetic (https://portal.dynatrace.com), you can define a variable in a custom action then use it inside backticks within the formfill. Be sure to set the Target Window in the custom step as control