The Check Links on Web Responses assertion verifies that every link on the returned web page is valid and does not return an HTTP error like a 404 error, or others. This assertion is commonly used to ensure that the links are working properly across the application and there are no inactive links on the page.
Complete the following fields:
Defines the name of the assertion.
Specifies the behavior of the assertion from the drop-down list.
Specifies the step to which to redirect if the assertion fires.
Identifies event text to print if the assertion fires.
The following criteria can be checked for the links:
Checks only links in the current domain of the returned web page.
If any query strings are present on the returned web page, then they are checked.
Any anchor links in the current web page are checked.
All the images on the returned web page are checked.
The current web page is checked for script and links.
Enter a RegEx expression for any links you want to skip.
Copyright © 2014 CA Technologies.
All rights reserved.
|
|