The Complete Beginner’s Guide to Responsive Web Design Testing

Beginner’s guide to Test Responsive Website Designs:

In today’s age, the use of mobile devices to access internet has grown and become quite popular. Almost every internet user desires a mobile version of the website.

However, most websites are not as optimized as they should be for mobile devices. The testers should perform a mobile responsive test on the responsive designs. 

When we try to open a website, the server reads “m.sub-domains” to identify what kind of mobile device the request originated from. Based on that, it redirects the user to the corresponding mobile version.


To make this 100% effective, each device should have its own design of the website specifically built for it; for example, a different specific design for Blackberry, iPhone, iPad, etc. taking into account their screen size and resolutions.

However, different web version for every resolution and device is not practical. The Ethan Marcotte came up with a new approach- Responsive Web Design (RWD) – that solves this problem.

What is Responsive Web Design?

RWD targets for websites to react to their device, resolution and be able to render and adapt correctly. For example, if the user switches from desktop/ laptop to iPad, then the website should automatically adapt the resolution changes like image size etc. as per the respective device abilities.

In short, Responsive Design is “One website for every screen”.

The below screen is an example of RWD:

(Note: Click on any image in this article for an enlarged view)

RWD example

Note: Real time example of a responsive website is

In RWD, a website is designed to give a superior user experience through easy navigation, clear and simple user interface etc. Responsive websites adapt easily and work in all resolutions, browsers, screen sizes, hardware, and Operating Systems.

  • Responsive websites are coded in PHP, .Net, Java, CQ5 (Adobe Experience Manager – AEM) and many new frameworks which are very handy to develop the responsive designs.
  • CSS and HTML features are leveraged to make screen resolutions and images get resized automatically.
  • RW design uses breakpoints to identify the layout of a site. Each design is used at different breakpoints. One design is applied over a breakpoint whereas the another design is used below the breakpoint. These breakpoints are generally based on the width of the browsers.
  • While designing a responsive website the developers consider the content, design, and performance of the site across all devices to ensure usability.

The diagram is an accurate simile to how the content adapts to the environment and behavior of the device.

example of how content adapts to device

Note: Apart from RWD there is another approach called Adaptive Web Design (AWD). In the AWD approach, there will be specific design for each device. However, AWD might not be suitable all the time. Besides, designing AWD sites takes more time and money in comparison to the RWD sites.

Advantages of Responsive Design:

#1) User Experience: Based on the device from which we access an RW, it hides the unusual elements and helps the users achieve their goals faster. For example: if we open an RW from a mobile then it hides the unimportant elements and speeds up the loading of web pages.

#2) Sharing or Linking: For an RW only one URL is used for various devices. As only a single URL is accumulating all the data and information from various devices, it gives a better UX for users.

#3) Little or minimum maintenance required for an RW.

#4) RW layouts are fluid.

Differences between Responsive Web Design and Adaptive Web Design:

RWD & AWD are closely related to one another.

  • RWD reacts quickly and positively to the changes whereas AWD can be modified easily for a new purpose.
  • RWD has multiple fluid grid layouts and AWD has multiple fixed width layouts.
  • Images in RWD are called as context-aware.

Main Components of Responsive Website Design:

Responsive Wed Design has three main components:

#1) Flexible Layouts: Building a website with a flexible grid that can be easily resized to any width dynamically.

#2) Media Queries: Provide various styles for the browsers and devices based on the context, such as the orientation of the device, viewport, etc.

#3) Flexible Media: As the size of the viewports changes, the media (images, videos etc.) also need to change their size or resolution according to the requirement.

Note: “Viewport” is the area of the browser where the actual content of the website is displayed. Viewport does not include the toolbars, tabs etc.

Responsive Web Design Examples:

Example #1)

Open the link from various devices and observe the URL. The URL of a Responsive website remains same for all devices.

a) View of the RW from a desktop or laptop (large screen size)


b) View of the RW from a tablet (medium screen size)


c) View of the RW from a mobile (small screen size)


Example #2)

Open the site from a laptop and also from a mobile and compare the URLs. This link is not a responsive link.

a) View of a non-responsive website from a desktop or laptop


b) View of a non-responsive website from a mobile


How to Test a Responsive Website:

The Responsive design test means testing the website or URL from different devices. Practically, it is not possible to test the responsive website completely because to do so we need to set up various systems for various screen sizes.

A possible way for the responsive test is by resizing the browser window size as per the test scenario.

Some browsers, such as IE and Safari will provide plug-ins or browser extensions which will help you view the viewport area in pixels. This makes the testing easy by getting the desired screen size by modifying the pixels.

Other browsers like Chrome provide a software or program called “Emulator” which will help change the screen features and environment as per the desired device needed for testing.

Note: “Emulator” is software or program that is provided within the browser which makes the host system (current browser) behave like the guest system (browser of the desired device that is to be tested for the screen size desired).

Even though the emulators cannot give you the exact environment needed for testing, they are a cost effective solution to test an RW at a high-level.

Sample Test scenarios for responsive website testing:

The responsive web design tester should make sure that a responsive design is satisfying all the below-mentioned test scenarios to ensure it is a bug-free responsive design.

#1) Responsive website link or URL should be same for all browsers in each and every device irrespective of the screen resolution.

Suppose is a responsive website. If we open it on a laptop and in a mobile phone then the URL should be same on both the devices. The website opened in the mobile browser should not start with or

Example: Open the website from a laptop and also open the same from a mobile too and observe the URL in both the devices. The URL is not same for both the devices.

Below snapshot displays how the URL changes for a non-responsive website in different devices such as laptop and mobile.

non-responsive website in different devices

Open the website from a laptop and from a mobile and check the URLs. It should be the same for both the devices.

Below snapshot shows the URL remaining the same for a responsive website in different devices:

Test scenario 2 for RWD

#2) The display location of the content (images, sub links, menus etc.) of a responsive website should change dynamically as per the change in the screen resolution. That is, if we change the screen resolution from the size of the laptop to mobile then the display of menu options should change dynamically.

Example: Open the link from a laptop and click on the menu on the right top corner of the window. Menu options are displayed as shown below:

RWD menu testing 1

Open from a mobile and click on the menu on the right top corner of the window. Menu options are as below:

RWD menu testing mobile

Note: This scenario can also be tested using browser emulators (Ex: chrome).

Open the website through a desktop and observe how the menu options are displayed. See below snapshot:

Chrome emulator to test responsive design

Now resize the browser window to that of a mobile screen size and then check the display of the menu options. See below snapshot:

Chrome emulator to test responsive design-resized

#3) URLs of a responsive website should also be resolution specific.

Pre-requisite to test this scenario: Ask the developer to insert any sub-link into the Responsive testing website where the sub link is not responsive.

For example, the developer can insert link to our testing website.

Now, open the responsive testing website from a mobile and click on the sub-link mentioned in the pre-requisite. Then the URL of the sub link should change to

#4) The same scenario can be tested from a laptop too. Open the RW from a desktop or laptop and click on the sub-link (mentioned in the pre-requisite of test scenario three) that is not responsive. The URL of the sub link should not change (as we are testing this scenario from the laptop the URL should remain the same).

#5) Pre-requisite to test this scenario: Ask the developer to insert any sub-link, for example, into the testing site. The mobile device in which you are going to execute this scenario should have the respective application of Paytm installed in the mobile.

Now open our testing responsive website from a mobile and click on the “paytm” sub-link. Then the Paytm application which is installed in the mobile should be opened. (The user should not be redirected to the website in the browser or another window; only the app should be open.)

#6) The images in the responsive website are resolution specific. It means that the resolution of the image inserted in the code of responsive website designed for mobile compatibility is different from that of a desktop or tablet. Each screen size should have its specific image in the design.


Pre-requisite to test this scenario: Testing and checking the resolution of the images could be a tough task. Ask the developer to insert three different images in the responsive website separately for mobile, tablet and desktop.

Open the testing responsive design website from a desktop, tablet and a mobile. The images on the responsive web page should be different for all the three devices.


Open the testing RW from a desktop and check the image on the web page. Now resize the window to that of a tablet and check the image. This should be different from that of the image shown for the desktop screen size. Now you can resize the window to mobile screen size and check the image. This image should also be different from the above two images.

Example: Open the responsive site from a desktop; right click on the image on the home page -> select “Inspect” from the menu. Check the image resolution (check the image file name extension .jpg) from the code. See the below screenshot:

image testing for responsive webs design laptop

Now resize the same window to that of a tablet screen size and check for the image resolution. (The image name extension is medium.jpg)

image testing for responsive webs design tablet

Finally, resize the window size to that of mobile screen size and check the image. (The image name extension is small.jpg)

image testing for responsive webs design mobile

#7) Click randomly anywhere on the web page and check if any data or text which is not hyperlinked gets initiated and redirected to any other page or content. This tests whether any word or text is marked as the hyperlink in the back end.

Note: In few projects, the requirements talk about the pixel size and resolution of the screen for particular devices. (For example, a tablet view for their RW should be at 15:15 pixel and for a mobile, it should be at 10:10 etc.)

Testing for the dynamic changes that should happen for the RW display when we change the pixel size is the main scenario.

#8) Open our testing RW in a browser and view the contents and display of main images. Now resize the window till the breakpoint of the tablet size and verify the changes that should happen to the image resolution and any other content. At breakpoints, the changes should happen dynamically (sometimes the changes will not happen at the breakpoints and may change at some other pixel size which is a defect.)

Tools to Test a Responsive website:

There are few tools (websites) that will let you preview the web pages of our responsive website.

For example, we can test our responsive site at different predefined screen resolutions (smartphones, tablets etc.) and also customize to any desired resolution. These tools make the testing activities easier and quick. Such in-browser tools can be termed as “Responsinator”.

Some tools also offer an important feature of capturing the responsive screenshot that might help us test the website designs, HTML, layouts, CSS etc. of the responsive website.

These tools are great alternatives when the actual devices are not available or ready.

Here is a quick tool list:

#1) Responsive design checker

Responsive design checker

Enter the URL of the responsive website that needs to be tested in the above “Enter Your URL Here” field and click “GO”. You can even select the device and resolution at which you want to view the responsive site.

Now enter in the field, select the layout “Nexus 7 PORTRAIT” and click GO. The site gets displayed in the resolution of the selected format.


#2) Screenfly

screenfly RWD testing tool 2

Enter the testing site and click GO.

Screenfly 2

Change the layout to desktop, tablet, mobile, etc. and test the site. With this tool, you can even customize the resolution.

For example, set the screen resolution to 512 x 256 and test the site.

Screenfly 3

Note: With this tool, you can even test scenario 6 easily by changing the resolutions and verifying the image naming.

#3) Designmodo

Designmodo 1

Enter any URL, and click Enter.

Designmodo 2

On the right-top side of the browser, you have the option to change the layout of the website to that of any specific mobile model or device etc.

Note: This tool has another feature like dragging the screen and modifying the resolution to our desired resolution.

#4) isResponsive

isResponsive 1

Enter the testing URL, in the field and click on “Test” button.

isResponsive 2

Note: This tool has only a few fixed layout options on which our site can be tested.

#5) Mattkersley

If you want to have a view of your RW on multiple screen sizes at a time then this tool mattkersley is what you need.

Mattkersley 1

Now enter your testing URL in the address bar and click enter. You can view the RW on multiple screen sizes at a time.

Mattkersley 2

#6) By default, chrome has few Dev Tools through which we can simulate the device mode and their capabilities.

To use this feature of chrome, open any testing responsive design website like in chrome and right click on the webpage and select “Inspect” option from the menu or press Ctrl+Shift+I. The below window gets opened at the bottom of the web page.

Chrome Dev Tools 1

Now click on the icon as shown in the below screenshot.

Chrome Dev Tools 2

Mobile mode of the web page gets opened. From that, you can change the resolution to any specific pixel and also to any predefined mobile model which is displayed in the drop down menu. View the below snapshot to get a clear idea:

Chrome Dev Tools 3

Note: We can also change the web page to portrait or landscape view too.

Chrome Dev Tools 4

There are many other good solutions for responsive design testing like:

7) ResponsiveDesign
8) BrowserStack
9) Troy
10) AmIResponsiveDesign
11) Responsinator
12) Studiopress
13) ResponsiveTest
14) For MAC machines we have a separate application called “APTUS” to test an RW. This application allows you to set-up various breakpoints on various devices for testing. APTUS is not a free application and we have to buy it from the Mac App Store.

Tips for Responsive web testing:

#1) While testing an RW you should mindful of the design consistency such as the alignment of images, texts, padding around the edges etc. across all the browsers and Operating systems.

#2) During the testing of an RW, the tester should be aware of what to test and how to test on multiple devices at different breakpoints. Otherwise, it could be quite exhaustive and disorienting.

#3) For thorough testing of a responsive website, the tester and developer coordination is a must. The developer should help testers with creating the conditions mentioned in the prerequisites of the test cases.

#4)  Check whether the web pages are readable at all resolutions, i.e. the content should be readable even if we resize the browser to mobile screen size.

#5)  The important content of the RW should be visible for all breakpoints, i.e. if we change the browser size from desktop screen to mobile screen then the main images, main text, menu, etc. should remain the same.

#6)  If the browser is resized for testing then any click area (like buttons, menus, sub links etc.) of the RW should be suitable for clicking.

#7) Resizing the browser and testing the responsive website can identify only a few major issues whereas there may be a few other issues related to finger-swipes, tapping etc. on mobile devices. Testing these particular features on the actual devices can lead to better defect finding and removal.


Testing a Responsive website is very important for a successful future of many mobile applications. Mobile users are only going to increase and their expectations are very varied from that of desktop users. Implementation and thorough testing of RWD is a great way to set your site up to meet the expectations.

Implementation and thorough testing of RWD is a great way to set your site up to meet the expectations.

We hope the information, tips and test scenarios discussed in this article will surely help your responsive website testing needs.

About the author: This is a guest post by Laxmi. She is having 7+ years of Software testing experience and currently working as a senior software test engineer.

Try all the examples provided in this article and let us know if you have any queries/comments on the same.


#1 Devasis

Awesome guide. Thank you for sharing such a useful one.

#2 Samuel

Thank you very much for the helpful tips. Are there are any tools that you find useful in automating these points you’ve mentioned. Like, for each image, checking a different image is used for screen size?

#3 Laxmi

Thanks for the comments.

@Samuel – yes, you can automate few test cases of responsive testing. For this you need to use Galen Framework tool.

#4 Pradeep

one of the best Chrome Add_On “Responsive Web Design Tester ”

#5 Jeena

I really enjoyed your post on responsive web design testing guide and thank you so much for the valuable tips

Leave a Comment