Galen Framework - Getting started

In previous post, I mentioned that we can use Galen for automated lay out testing. Galen offers a simple solution to test location of objects relative to each other on the page. Galen is implemented using Selenium Web driver. Hence we can use it for normal functional automation testing as well. Documentation of Galen Galen has its own domain specific language to define Specs. Detailed documentation can be found here. Galen has its own javascript API which provides a list of functions which make writing test cases easier. Detailed documentation can be found here. Galen pages javascript API is light weight javascript test framework. Details are available here. Details of galen test suite syntax are here. Galen framework has a detailed documentation of its usage and functions here. ###Installation### ...

June 25, 2017

Automated testing of CSS for Responsive Web Design

In a world where mobile first seems to be the norm, testing of look and feel of websites on various mobile/tablet devices are essential. More businesses are now adopting Responsive Web designs for developing their web applications and sites. ###What is Responsive Web Design### According to Wikipedia, Responsive web design (RWD) is an approach to web design aimed at allowing desktop webpages to be viewed in response to the size of the screen or web browser one is viewing with. In addition, it’s important to understand that Responsive Web Design tasks include offering the same support to a variety of devices for a single website. A site designed with RWD adapts the layout to the viewing environment by using fluid, proportion-based grids, flexible images, and CSS3 media queries, an extension of the @media rule, in the following ways: ...

June 21, 2017