Definition:
Galen is a test framework originally designed for testing layout of web applications however is additionally an excellent tool for functional testing. once it involves testing a responsive layout it works in a following way:
- Open a page in browser
- Resize it to specified size
- Test the layout according to user-defined specs
It uses antioxidant for interacting with elements on page and obtaining 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
Further Reading:
Book: Testing Practitioner Hanbook by Renu Rajani.