Hello community,
today I asked myself, how could it be possible to add an input dialog in a recorder script. Here is one possibility.
I use the command addScript with a two JavaScripts commands.
var passwd = prompt(“Please enter the
password”,“Angel”); document.getElementById(‘loginform-password’).value
= passwd;
The first command opens an input dialog and the second command sets the element.
On this way we have the possibility to request for user input, if it is necessary, e.g. in semi-automatic processes.
Enjoy it.
Cheers
Stefan