We are building a new experience for our SmartBear Community.
This site is now read-only. You can still browse and search as usual. Learn More

Forum Discussion

jsc's avatar
jsc
Regular Contributor
14 years ago
Solved

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
  • Hi Joachim,



    To stop the current test item and proceed to the next one, you can use http://support.smartbear.com/viewarticle/12335/.

2 Replies

  • Hi Joachim,



    To stop the current test item and proceed to the next one, you can use http://support.smartbear.com/viewarticle/12335/.
  • 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