Skip to main content
U.S. flag

An official website of the United States government

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

Automating Interactive Applications in the Network Environment



Don E. Libes


Many programs demand to be run interactively. Word processors are good examples, but may network applications (e.g., ftp, telnet) share the same fault. They cannot be run non- interactively. Expect is a software tool designed to control interactive programs. Expect needs a script that resembles the dialogue itself but which may include multiple paths through it. Expect can run any program locally or remotely in order to automate a task. Expect successfully deals with interactive programs and is particularly useful in a networked environment in which dissimilar machines must communicate. Expect solves the problem of stick the password in the script as well as several other long-standing problems with traditional work-around in these areas. Expect also provides the needed support for regression testing, network and computer load generation, and conformance testing in a networked environment. In practice, Expect has entirely relieved numerous computer scientists and network managers of tasks that previously has to be performed by hand. The investment in writing Expect scripts is a minimal one-time cost. Expect itself is free and in the public domain. Expect is in use in over 100 companies as well as virtually every university in the U.S. and many overseas.
The International Communications Association Journal


Expect, interactive applications, network environment, regression testing, conformance testing


Libes, D. (1992), Automating Interactive Applications in the Network Environment, The International Communications Association Journal (Accessed April 13, 2024)
Created July 1, 1992, Updated February 17, 2017