You’re Almost There: Supercharge Your Functional Tests With Visual Powers in 8 Lines of Code

So you’ve automated your regression tests using Selenium, Casper, or any other automation tools that are out there. Your functional tests are great at testing *functionality*, but do they check how good the application looks? Do they check that the submit button is aligned with the edit box? Do they check that the background color is that perfect shade of pale? Nope. They check what is *in* that input field, and they even change the text and submit the form, but they don’t check how that form *looks* like.

What if I told you that in less than 10 lines of code added to your *existing* tests, you can add vision to your existing tests, and check how the application looks – how the form looks like, and not just how it behaves. Moreover, once you have added vision to your existing tests, you can supercharge your existing functional checks and just check the whole page in one big assertion.

In this talk I will take existing functional tests written in JavaScript and Java, and add visual testing capabilities to them. I promise – in just 8 lines of code!

Session Takeaways:

  • Learn what visual testing is and how it can benefit existing regression automation tests.
  • Learn how visual testing additions enhance existing functional tests.
  • Learn how easy it is to write code that visually tests an application.

Location: TBD Date: April 11, 2018 Time: - Gil Tayar