Tuesday, December 1, 2015

What is Galen Framework?

Galen is a test framework originally designed for testing layout of web applications but is also a great tool for functional testing. When it comes to testing a responsive layout it works in a following way:
  1. Open a page in browser
  2. Resize it to specified size
  3. Test the layout according to user-defined specs
It uses Selenium for interacting with elements on page and getting their locations and dimensions. 
Once it sees that something is wrong – Galen reports the error, makes a screenshot and highlights the misbehaving element on it.