Site Scan is very powerful utility to test websites with dynamic content. It scans complete website and checks for broken link, compares it with previous content and many more.

Argument Name: Mode

Multiple options can be given with comma separation.

Example Options:

  • saveContent -> Saves content of the site to task folder

  • scanOnly -> Scans complete websites and extracts information

  • sample -> Used for dry run. Will extract first 10 pages and its Childs

  • sample:50 -> Used for dry run. Customize number of pages in the sample. Will extract first 50 pages and its Childs

  • PageValidations -> Validates all the pages with w3 standards

  • SpellChecks -> Performs spell check for new & changed pages and will be added to the site scan report

  • ConsoleErrors -> Extract console error after each page load and logs in ConsoleError sheet of site scan report

Prop NameProp DescMore Info

Active tag names to checked

Default Options: link:src,link:href,img:src,a:href

Check based on an element. Give UI Element name

Links to product element. To use this must be set to "custom"


URL on which we are performing the scan

This must a valid URL. Main URL or can give sub domain


List URLs of CDN

multiple CDN urls can be by comma separation

Only matching URL to be included

startsWith:[phrase in the URL]

endsWith:[phrase in the URL]


contains:[phrase in the URL]

All matching URL's will be excluded

same as include rules. multiple can be given with comma separation


File of approved site scan data

Site Scan Excel file format

File must be in Test Data folder


List of default missing images

Multiple image path can be given as comma separated


When true, scan will not check for any child pages

Default is false


When true, scan checks for skips reading the siteMap xml file

Default is false




Compare Site Scan

When performing site scan, it is very important to compare and drive test based on previous result. Run site scan once to extract data from the website. This will be used as reference point hence forth. In addition to extracted site scan data, Compare Site scan data must have extra columns, Action & Status.

Action Values:

  • spellcheck

  • brokenlinks

Last updated