The Unix shell script below demonstrates a way to terminate the test case execution after a specified period of time. This is to cope with cases of e.g. a test script being stuck inside an endless loop.
Note that killing squishrunner like that will likely leave only partial results behind. I.e. the generated XML file might be missing closing tags or be completely empty.
A safer built-in --timeout switch for squishrunner is available since Squish 6.1 release.
We would love to improve this site! For this, we ask you for permission to use
a cookie (a piece of data stored in your web browser) which helps us understand
how the site is used.
Sure, go ahead!
Please refer to our Privacy
Policy in case you change your mind, or if you want to learn more about how
we take care of your privacy.