Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Automated visual testing with Selenium and TestNG
Rating: 4.3 out of 5(161 ratings)
874 students

Automated visual testing with Selenium and TestNG

Assure your web app is looking perfectly
Last updated 6/2018
English

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

Course content

6 sections20 lectures2h 27m total length
  • Introduction4:49

    Explore visual testing with Selenium and TestNG, learn to capture screenshots, compare them to a baseline, detect regression, highlight differences, and generate reports with Jenkins in a Maven-driven CI workflow.

Requirements

  • Java must be installed
  • Basic knowledge in Java and Selenium is preferable but not required

Description

"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 testing is 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 a short 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 visual differences are detected then you get report where detected differences are highlighted in red.  

Thus you can be sure that your web site is looking great and user 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!


Who this course is for:

  • Automation Engineers who want to expand their skillset
  • Manual Testers who want to learn how to configure testing projects and implement them
  • Everyone who is interested in automated testing, not only visual one
  • Everyone who wants to significantly benefit from automated visual testing and reduce manual efforts