Description
This extension adds command 'alert' that pops-up a alert message with a given parameter.This helps a lot in script debuging.
Code to add to the user-extensions:
user-extensions.js
Selenium.prototype.doDisplayAlert = function(value, varName) {
alert(value);
};
Example:
| storeEval | 1 + 2 | result |
| alert | ${result} |
Note:
'echo' is a similar command which allows writing debuging information to log file. But it does not work for Selenium IDE as I saw.

Comments (1)
Jun 12, 2007
dhwang says:
Alert is intrusive I think.. wouldn't it be better to send the message to the LO...Alert is intrusive I think.. wouldn't it be better to send the message to the LOG window. Something like:
Selenium.prototype.doLogDebug = function(value, varName) {
LOG.debug("DEBUG: " + value);
}