Menu

#63 Allow more than one condition to terminate a wait

open
Framework (21)
5
2005-10-31
2005-06-26
No

I want to wait for some 'ok'-message. However, while
I'm waiting, an error dialog may appear, while the
'ok'-message will never appear. Just to wait for a
timeout isn't really helpful, as the test will be part
of a suite. Only the test should fail, not the whole
suite, and it should appear as soon as the error dialog
pops up. Thus, testing for both cases should be
supported, one will fail the test, the other not.

Discussion

  • Timothy Wall

    Timothy Wall - 2005-10-31

    Logged In: YES
    user_id=54098

    In general, I'd recommend writing the test such that two outcomes are not
    possible, but this is not always possible when doing functional testing.

     
  • Timothy Wall

    Timothy Wall - 2005-10-31
    • summary: Waiting for alternatives --> Allow more than one condition to terminate a wait