expect 2 different events


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
3 views
How to teach expect to recognize two different events?
Events do not follow each other.
by | 3 views

1 Answer

0 like 0 dislike
Not a very specific question. In the General case:
\r
expect { text1: { set f1 1 обработка1 if {$f2 != 1 } {exp_continue} } text2: { set f2 1 обработка2 if {$f1 != 1 } {exp_continue} } } 
by

Related questions

0 like 0 dislike
3 answers
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
110,608 questions
257,186 answers
0 comments
28,074 users