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

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://a9t9.com/
store Boston city
echo The city variable contains ${city}. green

Works in

Kantu for Chrome 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 Github repository testmacros folder.

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.

Kantu Selenium IDE for Chrome and Firefox - Web Test Automation
Subscribe to the a9t9 automation software newsletter . We'll send you updates on new releases that we're working on.