Provided URL will be launched in the browser and considered as the parent page.
List of URL's
Provided URL's will be replaced with empty or null in the HTML.
Whenever we have a dynamic URL getting loaded with a pattern, we have to configure this property with URL's.
This will help in calculating the size of the document
This property helps in reducing the scan time and multiple hits on same URL explained as below.
Ex : https://qatts.com/contact-us was the common URL in every page, I want to hit the URL only once in scan. Then we have to configure this property
By default QATTS will exclude all the URL's that were not starting with the baseURL. If we want to include any links we can configure this property with the given formats
Whenever we are running scan on regualr basis, we need to check the content and size of the source was not getting changed. To validate this we need to maintain all scan details in a given format for comparision.
Ex : h1,h2,h3
Whenever we are doing the spelling checks, the content in the HTML will be saved in tag. User has to identify thoses tags and provide here.
Ex : imageNotAvaliable.png, noImage.jpg
Some times HTML pages were not loaded properly and we will be seeing missing images in the HTML.
To identify them in the site scan, user has to identify and configure here.
If the user provided values were found anywhere in the document, The HTML page misssing image section would be displayed as YES
By default QATTS extracts the links with the given.
If the user wants to customize the extraction of link this can be used for configuring.
if the value is "custom". User can write his own locator for extracting elements and configure below property.
props.page.element : UI_ELEMENT_NAME
Whenever HTML pages were having the dynamic content, which will change everytime. User has to identify them and configure here.
It will help in calculation the size of source and comparision perfectly
Using Smarty in Functionality :
After configuring our smarty with requirements, Navigate to Functionality
Lets understand modes of site scan and when to use
When should I use
sample:100, Only the given number of URLS's will be scanned and report will be provided
Whenever we received changes to the website / we have changed the configurations of smarty
Content will be saved for the future validations
When we initially run scan, to compare multiple scan saved files. It will be helpful
Only scans the website without validating with input data
When the configurations has been changed, and there was no input data. We have to use this
Performs W3C Checks on each and every web page and gives the results which will be helpful for DEV
Use this mode only for the first stabilized scan, This will consume time
Performs spell checks on the tags provided
Use this mode only when there were content changes to website, Additional cost will be charged for this
Extracts all the console error's and gives by URL
Use this mode when there were redirectional changes / source changes in the website
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.
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.
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
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
Client / Server
When the user receives a successful response
When there was some thing missing from user. We receive this kind of errors
When the server was unable to give response / it is taking more time to handle request. These type of errors appear
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.