Forum Discussion
SmartBear_Suppo
15 years agoSmartBear Alumni (Retired)
Hi!
if you have a Delay TestStep in your TestCase, you can set the delay with a groovy script:
testRunner.testCase.testSteps["Delay Step"].delay = 12345
or you can set the delay itself with a script-property-expansion;
${=(int)Math.random()*1000}
(which will delay randomly 0-999 ms)
regards!
/Ole
eviware.com
if you have a Delay TestStep in your TestCase, you can set the delay with a groovy script:
testRunner.testCase.testSteps["Delay Step"].delay = 12345
or you can set the delay itself with a script-property-expansion;
${=(int)Math.random()*1000}
(which will delay randomly 0-999 ms)
regards!
/Ole
eviware.com
Related Content
Recent Discussions
- 14 hours agoKay