EnableTimeout for TestComplete action

I try to use the EnableTimeout for my TestComplete actions. However it seems that this property is not supported. Can this be fixed or is there a reason for this behavior.

Notes:

- I ask this question because too often my TestComplete test do not end.

- When I press the "Terminate current action and stop build" button TestComplete is aborted. The same behavior would be acceptable for me on the Timeout.

Hi Herman

Which version/build of FinalBuilder and TestComplete are you using? The current version of FB6 has a testcomplete action which does have the TimeOut option on the RunTime Property page for TC 4/5/6.

I use FB 6.2 (build 1063) and TC 6.5 (I upgraded from 6.4 to 6.5 yesterday).

The problem I see is that I can set "Enable Timeout" in the "Action Timing Settings" window. When I press OK button in the "Action Settings" window, the "Runtime" tab of the "TestComplete 4/5/6 Project" window shows that the option is enabled. If I then press OK in the "TestComplete 4/5/6 Project" window and then open the  " TestComplete 4/5/6 Project" window again the option is no longer set.

I also tried the alternative way of setting the option on the "Properties" tab of the "Design and Debug" tab of the main screen, but there nothing happens when I click on the checkbox.

I hope the above description clarifies my problem.

I seem to remember having the same problem some time back. Have you tried just setting the properties in the BeforeAction event?

Would be something like this:

Action.TerminateOnTimeout = true
Action.TimeoutLength = 5

I have not tried it, but it might work....

Lars

Ok, I was able to reproduce what you are seeing… looking into it now.

Hi Lars,

Thank you for you suggestion (I did not think of it).
I did not try it, but it is not working. I added one line to the script you proposes because the parameter I tried to set is EnableTimeout.

Action.EnableTimeout = true
Action.TerminateOnTimeout = true
Action.TimeoutLength = 1

Hi Vincent,

I tried Lars’ suggestion, but it is not working. Again the EnableTimeout property is not set (I checked this when the action was finished in the properties tab of the “Design & Debug” tab of the main window) and the TestComplete script was completed (in this case it run for about 4 minutes, whereas I set the TimeoutLength to 1).

Regards,

Herman

Of course I should have witten "I did try it"

Hi

Here’s a build with the fix for the enable timeout property not being remembered :

https://www.finalbuilder.com/downloads/finalbuilder/620/FB620_1076.exe

I just downloaded and tested the new build. The timeout is now working for my TestComplete tests.

Many thanks for you amazingly fast response.

Post Edited, do not post on our forums asking for cracks to other products.