QA Madness Blog   Measuring Page Load Time: Where Is The End?

Measuring Page Load Time: Where Is The End?

March 16, 2018 Reading time: 2 min

The question “how to measure page load time?” sounds very simple, but there are a lot of complicated things (and tools) hiding behind it. First of all, where is the beginning? It would be logical to think that we start counting from the moment when we paste the link into a browser address bar and press “Enter”. But what’s about before upload? It may also influence the page load time. Obviously, you can always start from about blank, but still… Anyway, it’s usually more difficult for a tester to understand where is the end. Here are several ways how to detect if the page has finished loading.

Network activity.

You simply have to wait until you have no pending requests. This strategy looks simple, but it doesn’t work for most sites, because JS initialization may take plenty of time even after the page loading seems to be over.

Visual changes.

This is probably one of the most convenient ways to understand that the page loading is done, but the thing is that modern sites have loads of content: images, videos, buttons, comments, etc. That’s why it is also important to understand if the website loading speed is even – this strategy will give you a more precise result.

Events.

There is a whole set of events related to the page loading process, but there is also a tiny problem – these events are usually activated before the page loading is completely over. You can create a separate event to detect a completion time, but in this case, you will have to do this for every single page, which makes the task even more complicated than it was before.

Functionality.

The page loading seems to be over, but the page itself doesn’t respond to your clicks – this problem is pretty widespread. If you choose this strategy, consider not only visual changes but also functionality. All the buttons must function without a problem.

The visitors leave if the website load time exceeds 3 seconds. Therefore, website speed test might be a tough job yet vital for your business. Now you know the way QA engineers would work on page load speed.

Latest Posts

The Definitive Accessibility Testing Checklist for Your Software Products and Services

April 25, 2024 Reading time: 12 min
A product that stands out is trivial. A product that genuinely cares about its users is sensational. Over the years, we’ve seen many projects create exceptional features and spectacular UX. But with time,
Read more

Automated Testing for a Desktop Application: Benefits, Particularities, and Actionable Tips

April 19, 2024 Reading time: 23 min
There’s no good without the bad. So, if you’re contemplating automation for your desktop app, wanting to enjoy all its benefits – think twice. Because it comes with quite a few struggles. That
Read more

Your Guide to Automated Integration Testing

April 12, 2024 Reading time: 11 min
Automation is a dilemma. Do you need it? Is it worth it? Allow us to cease your hesitations. Automation testing services are a true gift to your project’s performance and your team’s development.
Read more

Change Your Mind About Unit VS Integration Testing To Support Your Product’s Progress

April 1, 2024 Reading time: 19 min
Software complexity is going up. User-centricity is taking over. And businesses get lost in all the tiny and mammoth tasks. We get so caught up in the bullet-speed progression of technologies that we
Read more

Don’t Take Software Integration Testing for Granted – Run It Like This

March 22, 2024 Reading time: 16 min
Test early. Test often. A principle all companies should live by. And most of them do. But it seems a certain type of testing has been left out of this golden rule for
Read more

Blog