OnStartTest and OnStopTest occasionally not executing
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2014
06:29 AM
09-15-2014
06:29 AM
OnStartTest and OnStopTest occasionally not executing
Greetings.
I'm running TestExecute 9.31. Our tests are organized in test suites, with about 10-20 tests per test suite. Sometimes, when I run an individual test suite, the OnStartTest and OnStopTest events do not fire, causing tests to misbehave. WHen the test suite starts, these events process fine. Then, midway through the test suite, the events will just stop firing for no apparent reason. All preceeding tests pass, and the scripts for preceeding tests run to completion.
Any ideas?
Thanks!
I'm running TestExecute 9.31. Our tests are organized in test suites, with about 10-20 tests per test suite. Sometimes, when I run an individual test suite, the OnStartTest and OnStopTest events do not fire, causing tests to misbehave. WHen the test suite starts, these events process fine. Then, midway through the test suite, the events will just stop firing for no apparent reason. All preceeding tests pass, and the scripts for preceeding tests run to completion.
Any ideas?
Thanks!
3 REPLIES 3
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2014
08:18 PM
10-01-2014
08:18 PM
Hi Matt,
The OnStartTest event should occur when you start a script routine or a keyword test from TestComplete GUI and when each test item starts executing.
Thus, if you run only one test item, the event will be fired only once. Please check this.
The OnStartTest event should occur when you start a script routine or a keyword test from TestComplete GUI and when each test item starts executing.
Thus, if you run only one test item, the event will be fired only once. Please check this.
---------
Tanya Yatskovskaya
SmartBear Community and Education Manager
Tanya Yatskovskaya
SmartBear Community and Education Manager
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2014
02:59 AM
10-30-2014
02:59 AM
Hi,
I'm experiencing same behaviour, randomly onstarttest and onstoptest are no more called during test suite (sometimes it works perfectly during all the tests suite sometimes not), I've checked that logging messages on each methods calls.
It's really annoying as I really need to have the code in those methods to be called each time before and after test.
Is there a way to programatically register those events from code ?
Is there any testcomplete internal log to check to figure out why this issue occurs ?
Jean
TestComplete 9.31
I'm experiencing same behaviour, randomly onstarttest and onstoptest are no more called during test suite (sometimes it works perfectly during all the tests suite sometimes not), I've checked that logging messages on each methods calls.
It's really annoying as I really need to have the code in those methods to be called each time before and after test.
Is there a way to programatically register those events from code ?
Is there any testcomplete internal log to check to figure out why this issue occurs ?
Jean
TestComplete 9.31
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2015
04:34 AM
06-24-2015
04:34 AM
Hi there
Any solutions for this behaviour? I face the same problem.
Sometimes (or even often) the onTestStart/onTestStop event is not fired on all test items.
TC: 10.60
OS: Windows7/64bit
Thanks
Andy
