jsc
13 years agoRegular Contributor
manually firing events
Hi all,
I want to create a function that just terminates the execution of the current testitem and moves on with the next one.
This is needed if something in the test goes badly wrong and there is still much time left until timeout.
I see 2 ways to do this and got a question to each of the 2 possibilities:
1. create a function "moveToNextTestitem()"
- is there already a function for this, that can be adjusted?
2. fire the onTimeout event
- how can I manually fire this event? (I searched for this
I think the second possibility looks better or are there more simple ways?
Thanks a lot,
Joachim
I want to create a function that just terminates the execution of the current testitem and moves on with the next one.
This is needed if something in the test goes badly wrong and there is still much time left until timeout.
I see 2 ways to do this and got a question to each of the 2 possibilities:
1. create a function "moveToNextTestitem()"
- is there already a function for this, that can be adjusted?
2. fire the onTimeout event
- how can I manually fire this event? (I searched for this
I think the second possibility looks better or are there more simple ways?
Thanks a lot,
Joachim