Jan 17, 2011, 10:16 PM
Post #1 of 1
Need help in Expect Module
I am trying to automate a cli application that has multiline output. I want to be able to grep for this multi line output as single string using Expect module and send some keys as input.
The cli would be something like
bash-3.00# /opt/myapp/bin/app register
Select destination server or enter full URL for alternate server [somedefaultserver(3)]:
How can I do this using Expect?
Thanks in advance..