Tcl Expect for Windows
ActiveState Expect for Windows is now available via teacup for ActiveTcl 8.5 or later.
Expect is a tool for automating access to interactive applications. The original Expect version was written for Unix platforms; ActiveState Expect for Windows provides the automation power of Expect for the Windows platform. This lets users control applications running on mainframe or Unix servers from Windows workstation. Tcl Expect for Windows allows one to write Tcl scripts that make use of a collection of functions that are extremely handy for automating tasks which aren't otherwise easy to automate. A good example of this kind of task is running software test suites automatically.
ActiveState Expect for Windows is consistent with the latest Expect version and is compatible with the Tcl 8.4 core. Usage differences between the Unix version of Expect and Expect for Windows are described in the Expect for Windows User Guide. For Windows it is only available in the 32-bit ActiveTcl.
Expect "talks" to other interactive programs according to the commands defined in the Tcl script from which Expect is called. It can handle output from the program and provide the correct response based on possibilities outlined in the script. Tcl provides branching and high-level control structures to direct the exchange.
For example, Expect can:
- Control console-based remote applications via Telnet, SSH or rlogin.
- Configure routers and other devices accessed through console-based interfaces.
- Carry session settings such as environment variables or current directory across rlogin, Telnet, tip, su, chgrp, etc.
ActiveTcl Business Solutions are also available. Not sure which version is right for you? Visit the Compare Editions page.
For more information on using Tcl Expect for Windows, please also see the Expect for Windows User Guide.