
zaheer
New User
Jan 17, 2011, 10:16 PM
Post #1 of 1
(866 views)
|
|
Need help in Expect Module
|
Can't Post
|
|
Hi, 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 1) someservername(1) 2) someoptionalserver(2) Select destination server or enter full URL for alternate server [somedefaultserver(3)]: How can I do this using Expect? Thanks in advance..
|