Ask a Question

TestComplete 12.50 and Windows 10 (1709)

SOLVED
DavidE
Contributor

TestComplete 12.50 and Windows 10 (1709)

We are having a problem with tests in Windows 10 that were developed on the same system as the ones we are currently executing the tests on where the test will end prematurely with only a message that says, "The test execution was interrupted."

 

The steps leading up to that message are all successful.  The step this happens on varies within the same test.  We have seen this happen on a number of different tests that we are writing, and can't explain why.

 

Has anyone seen this happen?  Any suggestions to try?

7 REPLIES 7
shankar_r
Community Hero

@DavidE"The test execution was interrupted." It usually comes when you stop the test manually. 

This will happen when you enabled StopOnError.

 

Do you have StopOnError enabled in your project?


Thanks
Shankar R

LinkedIn | CG-VAK Software | Bitbucket | shankarr.75@gmail.com

“You must expect great things from you, before you can do them”

Extension Available

Most all our tests run with Stop on Error enabled @shankar_r.  However, I took your suggestion and turned it off.  The test did run to completion.

 

However, that brings me to my next question.  What error am I getting?  As I said, the commands are being executed successfully up until the point where I get the test interrupted message.  There is no prior error and nothing else is stopping the test.

What you see in the Additional Information tab of that error message?


Thanks
Shankar R

LinkedIn | CG-VAK Software | Bitbucket | shankarr.75@gmail.com

“You must expect great things from you, before you can do them”

Extension Available

I get the following message.  However, there are no other errors in the log, I did not stop the test manually, and my test does not call the Runner.Halt method.

 

Possible reasons:
- An error or warning occurred during the test run. See the preceding log entries to locate and identify the error.
- The test run was stopped manually.
- The test run was terminated as a result of the Runner.Halt method call.

It does not give me any clue, Can you post a screenshot of the log message?


Thanks
Shankar R

LinkedIn | CG-VAK Software | Bitbucket | shankarr.75@gmail.com

“You must expect great things from you, before you can do them”

Extension Available

@shankar_r I appreciate the willingness to try and help, but I did just discover the problem.  We use Jenkins to execute our tests, and we had set some timeout values for the test, i.e. a maximum run time.  Due to some changes in our environment some of these tests are running longer than they used to and as a result are hitting the timeout values and Jenkins is stopping the test.  So it is truly being interrupted.

 

 

Glad you found the root cause of the problem.


Thanks
Shankar R

LinkedIn | CG-VAK Software | Bitbucket | shankarr.75@gmail.com

“You must expect great things from you, before you can do them”

Extension Available

cancel
Showing results for 
Search instead for 
Did you mean: