expect: how to declare end of expect script properly?
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?