pijiu
By:
pijiu

expect: how to declare end of expect script properly?

July 20, 2014 1k views

hi there, im trying to write some automation script and it doesn't work

if i separate this code into 2 parts and run them separately it's all working, but not together.

i believe it's because i must somehow declare the end of first expect script to let second work properly, but as im very new i can't find out how, googled half a day with no success, would please someone point me to what im doing wrong?

here is the code: http://pastebin.com/VenHMUEd

any help, please?

1 Answer

if i separate this code into 2 parts and run them separately it's all working, but not together.

What are those two parts? Can you pastebin them as well?

Do you get any errors when you try to run http://pastebin.com/VenHMUEd?

Have another answer? Share your knowledge.