Forum Discussion

jsc's avatar
jsc
Regular Contributor
13 years ago

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

2 Replies

  • jsc's avatar
    jsc
    Regular Contributor
    Hi Helen,



    thanks for the answer... this was so obvious, unfortunately I forgot about the possible parameter in stop.



    Joachim