Blog
Read the latest blogs
Watch this video to learn how to test that images are actually loading on a web page. The video is using this page in the test case.
The test case is about handling that images are correctly defined in the markup of a page, but are not loading when the page is loaded. This could be because the image has been removed or renamed on the server.
To find an image on a web page we use a Find Web Element building block and captures one of images. To verify that the image is physically loading we check the “Require Valid Images” – this setting ensures that the Find Web Element will fail if the image is not loaded correctly.
©2024, Leapwork. All rights reserved.