30 Dec 2022 06:43 AM - last edited on 02 Jan 2023 03:44 AM by Ana_Kuzmenchuk
I record one end-to-end click path, it's one business process. But when I playback the click path, it will display a "hard timeout" error. I know the script timeout is 5 minutes. I just want to know if I want to lengthen the timeout to more than 5 minutes. What can I do?
Can anyone give me some suggestions, please?
As it said in the documentation the Browser clickpaths are hard-coded to time out after 5 minutes.
By the moment is not possible to change it otherways.
Before increasing the timeout I would take a look at why the monitor is hitting the hard timeout. Are the pages loading as quickly as you expect? Have you added in waits that are not really needed? Often we can decrease the time a script takes to run by changing the waits. You can see the descriptions of the different wait strategies here. Wait for specific element to appear or Wait for next event are usually good options to try in this scenario.
That said, if you just have a really slow site and the monitor needs to navigate across many pages you may find you need to increase the hard timeout. We added an option to increase the hard timeout for Browser Monitors. It is only available in the API and you can find the documentation here.
bmMonitorTimeout - browser monitor execution timeout (ms)
bmStepTimeout - browser monitor single step execution timeout (ms)
Thank you so much for your suggestion! I will have a try by your suggestion👍