HOME

TheInfoList



OR:

Galen Framework is an
open source Open source is source code that is made freely available for possible modification and redistribution. Products include permission to use the source code, design documents, or content of the product. The open-source model is a decentralized sof ...
layout and functional testing framework for websites, written in Java, which allows testing the look and feel of responsive websites. It has its own special language Galen Specs for describing the positioning and alignment of elements on a Web page. It is based on
Selenium Selenium is a chemical element with the symbol Se and atomic number 34. It is a nonmetal (more rarely considered a metalloid) with properties that are intermediate between the elements above and below in the periodic table, sulfur and telluriu ...
and could be executed via Selenium Grid for cross-browser testing


Main features

* Testing location of elements on page * Image comparison for selected area * Functional testing * Applying TDD approach in
Web development Web development is the work involved in developing a website for the Internet (World Wide Web) or an intranet (a private network). Web development can range from developing a simple single static page of plain text to complex web application ...


Galen Specs Language

Galen Specs language consists of the following entities: * Page object locator definitions * Tagged sections * Test objects * Test specs # Declaring objects @objects header id header icon css img.icon text xpath //h1 # Declaring a section = Header = @on * header: inside screen 0px top left right height ~ 70px header.icon: width 34px height 34px centered vertically inside header inside header 7 to 10px left @on desktop header.text: centered vertically inside header right of header.icon 5 to 15px @on mobile header.text: absent


References


External links

* {{Official website, http://galenframework.com/
Source code on GitHub
Free software programmed in Java (programming language) Graphical user interface testing Free software programmed in JavaScript Cross-platform free software Software using the Apache license