Is there a tool for automated page rendering test? | Community
Skip to main content
Prithwiraj_Deb
Level 3
September 25, 2024
Solved

Is there a tool for automated page rendering test?

  • September 25, 2024
  • 2 replies
  • 1156 views

I was working with Chrome Dev Tool- Console tab to do some data layer testing. When Console throwed an error where an image thumbnail of an embedded product video is showing an error.

I went to the product page in the site and show the video does not have a thumbnail - obviously because referred thumbnail in AEM DAM is not found and server is throwing a 404 error. 

 

My question is having a automated testing tool which can crawl through the entire site and list all such broken internal DAM or CloudFront links. I am not a QA person and my team is extremely lean without dedicated QA resource. Any help would be appreciated. 

The video without Thumbnail 

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by daniel-strmecki

Hi @prithwiraj_deb,

I would actually recommend you a combination of two tools:

Sentry might be a quick win for you, it doesnt cost much and is easy to set up. However, I highly recomend also automating UI tests, but this is significatly more effort as you actually need to write the tests. Since you dont have a dedicated QA, potential setup is to have the FE devs develop UI tests.

 

Hope it helps,

Daniel

2 replies

daniel-strmecki
Community Advisor and Adobe Champion
daniel-strmeckiCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
September 25, 2024

Hi @prithwiraj_deb,

I would actually recommend you a combination of two tools:

Sentry might be a quick win for you, it doesnt cost much and is easy to set up. However, I highly recomend also automating UI tests, but this is significatly more effort as you actually need to write the tests. Since you dont have a dedicated QA, potential setup is to have the FE devs develop UI tests.

 

Hope it helps,

Daniel

Prithwiraj_Deb
Level 3
September 25, 2024

Thank you !! I have started to explore Sentry as a tool. 

sarav_prakash
Community Advisor
Community Advisor
September 27, 2024

Most of spider crawler tools are paid. Screamingfrog is very good crawler. I have used Xenus sleuth a freeware that crawls upto 500 links for free and then asks to pay. 

Google webmasters also provide a crawl error tool.

 
 

But be ready to pay for all these crawler solution. 

 

Now I implemented a reverse solution for my site. Weekly every sat night, have a Jenkins job that runs xpath query at publisher for image component with non-empty filePath property. Then collect all the filePaths; transform to publish link and place a HEAD request looking for non-200s. Finally reports which page and filepath is broken. All this runs outside AEM on the Jenkins server as python script. Possible to run entirely inside publisher also.

 

Other ways might be analytics, dynatrace/newrelic reports as well. Better to first check if your organization seo/analytics/devops any team are already generating such failure reports. Usually this is common requirement to report 404s.

 

Prithwiraj_Deb
Level 3
October 1, 2024

I just came across this great tool. This is reasonably priced and very powerful. 

 

https://www.drlinkcheck.com/