Blog   Measuring Page Load Time: Where Is The End?

Measuring Page Load Time: Where Is The End?

By Kate Punova
10+

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

Software Testing Life Cycle: a Model-Based Explanation

By Yana Andyol
1+
Probably, life has been much easier at times, when “coding” meant software development. Today, we realize that tech progress is unstoppable. Big data systems require architects, analysts, developers, QA engineers work together to
Read more

Don`t Question Responsive vs Adaptive Design: Focus on Product Quality

By Yana Andyol
4+
We see no point in debating the topic, just treat it like product development, define your goals, establish website quality assurance strategy, and measure your progress. The area of web design & development
Read more

Wireless era: what to expect and how IoT software testing evolves

By Yana Andyol
6+
Bain`s latest research has brought a lot of insights on the way IoT might change the businesses in the nearest future. The study predicts the combined markets in the field will reach $520Bn
Read more

Common User Interface Bugs or Why UI Testing Matters

By Yana Andyol
6+
The article is created in partnership with Clutch.co editorial team. In any industry, a lot of thought goes into how people are going to interact with your product. It can be a great
Read more

What do Businesses Expect from 5G Technology?

By Yana Andyol
6+
Read how 5G technology may change business 1G brought us communication. 2G enabled texting. 3G united talking, texting, and data. 4G is a faster version of 3G. In 2019, we`ll see the launch
Read more

Blog