echo (text, color) - Selenium IDE command

The echo command is useful to display text (comments, notes) and/or the stored value of variables in the log area of any Selenium IDE software testing tool. It is often used for debugging and documentation purposes. It does not influence macro execution in any way.

Make automation more colorful

Make automation more colorful... ...and the log file easier to read: ECHO has now an optional color parameter. You can use any of the sixteen basic named colors of the HTML 4.01 specification, see the table below:

Color Preview Color Name
white
gray
silver
black
maroon
red
purple
fuchsia
green
lime
olive
yellow
navy
blue
teal
aqua
orange

... and with #shownotification as "color" you can trigger notification messages.

echo Example

The example below will display the sentence "[info] echo: The city variable contains Boston" in the log tab of the IDE.

Command Target Pattern/Text
open https://ui.vision/
store Boston city
echo The city variable contains ${city}. green
echo macro done! #shownotification

Works in

UI.Vision RPA for Chrome Selenium IDE, UI.Vision RPA for Firefox Selenium IDE, Firefox IDE Classic

Related Demo Macros

Demo-Autofill, Demo-Frame

The ready-to-import-and-run source code of all demo macros can be found in the Open-Source RPA software Github repository.

See also

storeEval, Web Automation Extension User Manual, Selenium IDE commands, Classic Firefox Selenium IDE.

Anything wrong or missing on this page? Suggestions?

...then please contact us.

<em>UI.Vision RPA</em> Selenium IDE for Chrome and Firefox - Web Test Automation
Subscribe to the UI Vision RPA software newsletter . We'll send you updates on new releases that we're working on.