EveryStep and UserView – Script Time Watchers

There may be situations when you want to allow time for specific elements to load on your page or ensure certain actions occur within a specific time constraint. In these cases, a Script Time Watcher can be created and applied to individual steps within your script. Script Time Watchers are ideal for the following scenarios:

  • Logon authentication
  • Credit card/payment method validation
  • Site search results return
  • Page load time
  • Form submission and parsing

For example, let’s assume you’re working with a script that has five steps. You’re not too concerned about how long it takes for all five steps to run, but you’ve identified the third step as an essential step in the process and you want to ensure it finishes within a specific amount of time – and if it doesn’t, you want to receive an alert. This is where creating a Script Time Watcher is a valuable feature.

To add a Script Time Watcher, locate the step where you want to begin the “stopwatch.” For our example, we’ve identified this as Step 3.

Next, select the Step 3 line and right-click. A dialog box will appear.

Select Add Script Time Watcher.

Add-Script-Time-Watcher

From here you can name your Script Time Watcher, select the Watcher Type (Alert), and set the Threshold (in seconds). Once you’ve entered your selections, select OK.

set-threshold

One very important step to remember is that you once you’ve added the Script Time Watcher to a step, you also need to close it. If you don’t close it, it will assume that the time threshold you set applies to the rest of the steps in your script, not just one specific step.

To close a Script Time Watcher, locate the last line before the step where you want your Script Time Watcher to stop. In our example, we want to run the Script Time Watcher on Step 3 only, so we select the line immediately preceding Step 4.

Right-click on the line, select Close Watcher, and then select the name of your Script Time Watcher.

Close-Watcher

Select OK to finish. You’ve now created and completed the full start and stop of the Script Time Watcher.

For more information on how to edit and create other actions, such as Delays and Network Watchers, please visit our Knowledge Base article.

Latest Web Performance Articles​

Top 20 Server Monitoring Tools of 2023

A server monitoring tool is software that monitors the operation and general health of servers and other components of IT infrastructure. These tools continuously track

Top 25 Server Monitoring Tools

In this article we give our expert picks of the top 25 server monitoring tools to help monitor your website’s uptime and give your users the best experience, starting with our own solution at Dotcom-Monitor. Learn why server monitoring is an essential part of any monitoring strategy.

Top 20 Synthetic Monitoring Tools

Synthetic monitoring allows teams to monitor and measure website and web application performance around the clock from every conceivable vantage point, and to receive alerts before issues begin to impact real users. Here are our top picks for synthetic monitoring tools, leading with our own at Dotcom-Monitor.

Web Monitoring Tools, Uptime & Your Business Online

By using a web monitoring tool, you can be sure your site will be available at all times, no matter where a user might be around the world. You will also know when the performance of your site begins to suffer or experiences downtime, and Dotcom-Monitor will be there to help you resolve these issues.

How to Monitor HTML Canvas for Load and Uptime

Are you responsible for ensuring your HTML Canvas is always available and performing optimally? If so, you need to know how to monitor HTML Canvas for load and uptime. This blog post will explain how you can do that effectively using various monitoring tools.

Start Dotcom-Monitor for free today​

30-Day Free Trial. No Credit Card Required.