Galen Framework
   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 and view the source code, design documents, or content of the product. The open source model is a decentrali ...
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 A web page (or webpage) is a World Wide Web, Web document that is accessed in a web browser. A website typically consists of many web pages hyperlink, linked together under a common domain name. The term "web page" is therefore a metaphor of pap ...
. It is based on
Selenium Selenium is a chemical element; it has symbol (chemistry), symbol Se and atomic number 34. It has various physical appearances, including a brick-red powder, a vitreous black solid, and a grey metallic-looking form. It seldom occurs in this elem ...
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 applications, ...


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