step.inTime
Introduction
This set of commands is similar to step
commands but with a timeout duration. The timeout
duration is the maximum wait time for input and the corresponding step to complete. Should neither be completed by the
specified time, then such step would be considered as FAIL.
There are certain situations where you don’t want the execution to be blocked lifelong because of the input is pending. In such cases, you can use these commands and supply a timeout duration. The command will be completed as soon as input is provided (normal case) or it will wait for that much time and if the time duration has finished and no input supplied, then also this command will complete so that automation script can continue with other executions.