Site Scan
Site scan page processes the web page and it's sub pages and analyzes the failures from the website and provides a detailed report.
Site scan is a Smarty which processes web page and it's sub pages and also analyzes the failures from the website and provides a detailed report.
What can Site Scan do ?
It extracts all the links from the web page and check whether each link is broken or not.
It navigates into each and every page and does the above for every link extracted
It checks for the spelling mistakes in the whole web page.
It checks the W3C Standard for the HTML page and provides inputs to the developer on failures for quick fixes with HTML line numbers.
It provides the console error's of each web page scanned
It provides the list of excluded links which were not starting with the base URL.
Why i have to use Site Scan for my website
Easy to configure and execute a site scan with live reporting feature.
Easy understanding and filtering of the failures, When we are scanning a big / complex website.
Easy way to configure all the features on URL basis. Specific / Custom actions can be easily configured.
Download your report and analyze anywhere.
Rich analytics for the scanned data.
How to initiate site scan ?
Procedure :
Configure your smarty in QATTS.
Use your smarty in functionality.
Prepare your suite with the functionality.
Execute test run with your test suite.
QATTS will take care of scan and we can view and validate the site scan report with analytics. !!!
Now lets dive in deep understanding and doing the procedure.
Configuring the smarty :
What is smarty ?
Smarty is a function which does the beyond automation process. It does all the smart work requested by the user and return backs the simple value.
Step 1
Navigate to Studio -> Add Smarty.
Select the smarty type as "Site Scan".
Configuration Begins !!! We can configure our scan like below
Which page to launch.
What URL's to be considered in the scan.
How to identify and configure your "Image not Available".
Cleaning your content which has some dynamically generated URI's.
Better understanding of configuration
Using Smarty in Functionality :
After configuring our smarty with requirements, Navigate to Functionality
Lets understand modes of site scan and when to use
Best Practice's for the Site Scan
Site Scan Report
How to understand and analyze ?
Site scan report provides you 3 types of validations
Time Taken Validation -> It gives us the Maximum time limit of the source and how much it has taken in the current scan.
Status : Slow -> When the request has taken more than the max limit
Result -> Fail
2. Content Checksum validation -> QATTS generate a checksum value for each source content, It also has to be provided in the input site scan.
Status : Changed -> When the generated checksum value is not matched with the input checksum value.
Result: Fail
3. Content Size Validation -> QATTS generate the size for each source, It also has to be provided in the input site scan.
Status : Fail -> When the generated size is not matched with the input size value
Error : When we were not able to get the response from server, ERROR message provided by the server will given in result message column.
Result :
Pass : When all the above validations were passed
Fail : When any one of above validation is failed
Error : When the server was not able to give response. In this case status code will be -1
New : When the scan is run in scanOnly mode, result would be NEW and no validations will happen
AND
When there were new URL's extracted and they were not provided in the input scan.
Missing : When the URL's were provided in the input site scan and they were not extracted during the site scan. (Complete analyzation is required in this case)
Status Code : It is a code provided by the standard HTTP as below
Missing Images : Missing a image is quite common these days, When we were having 100's of web pages in website. QATTS site scan will tell you "YES" when there were some missing images in a HTML page.
How to prepare the site scan INPUT data ?
Pre-Requisite : We have to be ready with our scanOnly report. It has to be analyzed and see there were no error's
Now in the report -> Filter status code (200) Only. Because giving the failure information will give failures again.
Copy base URL, resource URL, Max Limit, Check Sum, Content Size and paste in the input site scan.
Q : My site scan was stable, New pages were added. Do i need to do scanOnly again ?
A : No need, Along with the filter result (NEW) from your report and copy only those to your input.
Q : I want to run W3Checks / Console error / Spelling checks only for specific URL's. Is it possible ?
A : Yes, we can configure that in the input site scan ACTIONS column
Q : How can i maintain my site scan ?
A : Maintaining site scan is very easy, if the new URL's were added add them to input scan. If there were complete content changes, Run the base scan once with saveContent and then prepare your input data , execute.
Q : How can i get the report after site scan
A : Navigate to your test run -> click on download site scan. A .xlsx file will be generated and given along with analytics.
Q : How understand and filter failures in the site scan report
A : User can filter report on multiple basis Filter by status code -> To get the failure count easily
Filter by Result (New) -> To know how many new URL's have been extracted.
Filter by content size -> To see how many source's have changed -> Can send to dev for quick fixes.
Last updated