Skip to main content

Hi All,

 

We are trying to find the broken links on the site. Our problem with the AA solution is - it's giving only URLs and the Status of the URLs (whether broken or not) but we wanted to get more information like "HTML Inner Text" or "HTML Title" or etc of the broken links.

 

Can you help me here with any workaround or technique? Thanks in advance

Hi @Akash Malapur​ ,

 

After you create the CSV of broken links, you can then loop through each link and then use the Capture Action to retrieve the respective attributes.

 

For that, you have to convert the hyperlinks into locators i.e., create an XPath which detects the urls which will look something like this:

 

//a<@value='$rcsv_Record{"URL"}$']

 

You might have to make some adjustments here and there.

 

Kind Regards,

Ashwin A.K


Reply