You use a list
responses:
Enter one: "A"
Enter next:
- "B"
- "c"
You use a list
responses:
Enter one: "A"
Enter next:
- "B"
- "c"
Sorry, don't understand what you mean.
I tried with single list and that works fine. But my reponses are like
this:
Enter command: "U"
Enter choice : "S"
Enter command: "M"
Enter choice: "U"
Enter choice: "S"
Enter choice: "b"
Enter Command: "q"if i give like this expect module will run all the Enter command reponses
and then Enter choice responses,
It wont.
but I want to run Enter command, choice
and then Enter command, choice, choice, choice and finally Enter command
Enter command:
- "U"
-"M"
-"q"
Enter choice:
- "S"
- "U"
- "S"
- "b"
That's what expect will do, just try it and you will see.
thank you, it works.