This repo contains automated tests that crawl through web-page(s) of a website and returns their status.
a. Page load time
b. Copyright year
c. Page title
d. Broken or invalid links of webpage
e. Broken or invalid images of webpage
f. JavaScript error logs from console of webpage
g. Page Screenshot(new)
- Install and use a licensed version of IntelliJ Idea | Eclipse | WebStorm IDE
- Fork the project and clone it into your directory
- Open the project and have your module libraries and add the Selenium jar files as required.
- Also, add the TestNG framework to support your Java code. Simply navigate to the Global Library section and select the add from Maven option, to choose the latest TestNG framework plugin.
- Download and use the following jar file for running Screenshot test: https://bit.ly/2IQbJi1
- Once setup is complete, right click on the Java file and execute it with/without code coverage.
In case you have better ideas or future visions to enhance this piece of code, kindly create a branch out of the master and commit your changes. I would review them at the earliest and merge them as per the priority and necessity.
Siddhant Wadhwani