What you'll learn:
- Install and configure Intellij IDEA
- Create Maven projects: pull dependencies, install plugins
- Set up Selenium WebDriver
- Set up TestNG project
- Develop screenshot utility for taking screenshots the entire pages as well as specific elements on the page
- Compare images and generate image with highlighted differences
- Make well structured regression suite using TestNG and run it from xml file and Maven
- Generate stunning regression HTML reports with attached screenshots
"Automated visual testing" is a buzz word in the IT industry nowadays. In this course I would like to show you what it is and how you can significantly benefit from it.
Automated visual testingis a great complement to functional tests. If something works, it does not mean that it looks fine. Moreover, if something is displayed on the page, it does not necessarily mean that it is displayed in the proper place. Here visual regression can help you.
Let me show you ashort example.
Usually visual regresison is about comparing two images.
The first one is baseline image. This image is the screenshot of the page when it was thouroughly manually tested and was perfect.
The second one is the current appearance of your page. You can take screenshots on daily basis, for example.
If some visualdifferences are detectedthen you getreport where detected differences are highlighted in red.
Thus you can be sure that your web site is looking great anduser interface is not broken by new development. This kind of testing can significantly enhance overall quality of your products.
I hope you liked an idea of automated visual testing. So welcome to my course!