Disabling Timeout
If you need the user to interact with an application, then you might wonder how long the user will take to do this. It may be quick or take an undetermined amount of time.
In this case, it’s possible to disable the timeout for a particular step, using the disableTimeout() function. This function disables the default timeout for this specific step.
In the next step, the default behavior will be reused. For steps which don’t require a user interaction, using this function with scenarios which take a lot of time to be executed is not a best practice. You should estimate the time of execution of the scenario and change the timeout value depending on this criterion.
Keep in mind that having scenarios which last more than 10 minutes is not a best practice. If your scenario processes several lines of an Excel file and takes more than 10 minutes to end, you should not use the disableTimeout() function or put a big value for the timeout. The best practice is to use several jobs to process the Excel file.