SiteScan
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.
Last updated
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.
Last updated
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 Name | Prop Desc | More Info |
---|---|---|
props.page.checks | Active tag names to checked | Default Options: link:src,link:href,img:src,a:href |
props.page.element | Check based on an element. Give UI Element name | Links to product element. To use this props.page.checks must be set to "custom" |
baseURL | URL on which we are performing the scan | This must a valid URL. Main URL or can give sub domain |
cdnURL | List URLs of CDN | multiple CDN urls can be by comma separation |
props.page.include | Only matching URL to be included | startsWith:[phrase in the URL] endsWith:[phrase in the URL] regex:[expression] contains:[phrase in the URL] |
props.page.exclude | All matching URL's will be excluded | same as include rules. multiple can be given with comma separation |
inputSiteData | File of approved site scan data | Site Scan Excel file format File must be in Test Data folder |
defaultMissingImages | List of default missing images | Multiple image path can be given as comma separated |
ignoreChildPages | When true, scan will not check for any child pages | Default is false |
ignoreSiteMap | When true, scan checks for skips reading the siteMap xml file | Default is false |
scanCheckType | FirstOccurance AllOccurance |
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