Comment #2 on issue 536 by sushiqiang: Nice to have multiple expect--action
http://code.google.com/p/robotframework/issues/detail?id=536

It is essential to have multiple expect. We are always in the situation that at any single read, there may exist multiple total different expected responses, and we can
not do multiple Read Until in sequence.
I think this is not a programming features, because all I want to know is which one
is happening.
I suggest to have a keyword like below,

$which MultiReadUntil $timeout $numToExpect Regex1 Regex2 ... WhateverString

After execution, $which will have the number of which one happened, or 0 with nothing
or timeout

If we don't have this feature, what is the work around for this?

Reply via email to