Quantcast
Channel: New board topics in SmartBear Community
Viewing all articles
Browse latest Browse all 20755

Setting auto-wait timeout in OnStartTest

$
0
0

Hi all,

 

as the test runs way faster on my local pc (physical pc with Testcomplete) than on the virtual machine with TestExecute I tried to set the auto-wait timeout for tests in OnStartTest and revert it in OnStopTest. (so that failed checkpoints on my local pc do not make me watch 14 seconds looking at the screen :-))

 

OnStartTest: Options.Run.Timeout = 1000;

OnStopTest: Options.Run.Timeout = 14000;

 

If I run a small functions in the scriptextensions itself this is all working fine.

 

But in OnStartTest and OnStopTest that are called from my Keyword Tests there is a runtime error executing this line.

I assume this has to do with the scriptextensions not knowing in which project the timeout has to be changed, but I am not sure.

 

Can anybody help me with that?

 

Best regards,

Joachim

 

 


Viewing all articles
Browse latest Browse all 20755

Trending Articles