ATF-server script to wait some time

Community Alums
Not applicable

Is there any way to write a script using server side step in ATF to make step case to wait for 10 seconds?

1 ACCEPTED SOLUTION

Hi Jace, 

Perhaps you'd like to consider using gs.sleep() instead of do nothing loop. 
Performance 🙂

Have a good day!

View solution in original post

13 REPLIES 13

Did some research on it and I'm surprised there's no equivalent for scoped:)
Thanks for pointing that out!
It will spare me some time in the future on debugging.

Jace, your suggestion is exactly what I needed. Thanks! It worked on the first try. 🙂

Hi, 
Tried this out the code itself doesnt really make the step to wait.
The difference between start and end time in 1 second

@jacebenson I tried to add new Input Variable 'u_seconds' under this custom test step, the BR: 'Element Change Validator' keeps throwing error 'Column name unchanged for field "u_seconds". Cannot rename an existing column.' and reverts the Column name. How can I go about this and create a new Input Variable?