enea_radu
13 years agoNew Contributor
On timeout event in TC 8.70
Hi,
I'm experiencing an issue with this OnTimeout event. If timeout of a test item expires while my script is inside a 'while' statement, the script never gets out of that while statement (I have a condition that is never met). If I stop the script manually, I can see in log that the timeout has expired for that test item. How is this event working? I tried also on a TC 9 trial version, and it seems to work ok. For some reason we cannot use TC 9 for our tests at the moment so I'm stuck with the described behavior?
How can I make my script exit that 'while' loop it the timeout period expires? Is there any trick? Am I doing something wrong?
Thanks,
Radu
I'm experiencing an issue with this OnTimeout event. If timeout of a test item expires while my script is inside a 'while' statement, the script never gets out of that while statement (I have a condition that is never met). If I stop the script manually, I can see in log that the timeout has expired for that test item. How is this event working? I tried also on a TC 9 trial version, and it seems to work ok. For some reason we cannot use TC 9 for our tests at the moment so I'm stuck with the described behavior?
How can I make my script exit that 'while' loop it the timeout period expires? Is there any trick? Am I doing something wrong?
Thanks,
Radu