Professional Documents
Culture Documents
Andres Pegam
https://www.pro-vision.de
2
The History
3
The History of Galenium
Selenium
(2011)
Galenium
(2017)
Galen
(2013)
4
The History of Galenium
Many projects
Volkswagen Bentley AMG Others
5
The History of Galenium
Many developers
Dirk
Martin Wehner Andres Pegam Others
Tschentscher
Multi-
invented Open
Selenium threaded Galen Maven
the name sourced on …
integration WebDriver integration integration
“Galenium” GitHub
handling
6
The Challenge
7
The Challenge
Regression test
• Development needed • Not enough
• Content • Several manual testers
• Upgrade iterations as • Not enough
bugs are fixed time
New version of Resources are
website scarce
8
The Players
9
The Players
Java Galen
Maven Galenium
TestNG Selenium
10
Galen
11
Galen - Intro
12
Galen - Basics
13
Galen - Examples
nav-item-
content logo navigation
*
14
Galen - Examples
Example Specs:
content logo navigation nav-item-*
aligned
below: left of: contains: nav-
horizontally all:
navigation navigation item-*
logo
15
Galen - Outro
16
Galenium
17
Galenium - Technologies
Technologies Maven
TestNG
Selenium
Galen
ExtentReports
18
Galenium - Parts
The Parts
Differences and Sampling Reporting
• Image Comparison • Test case centric
• Text Comparison • Logging and Tagging
19
Galenium - Context
Test report
Verification strategy
Test name
Assertion
Galenium Custom
Web driver
Context values
threadsafe
20
Galenium – Differences and Sampling
Browser
User Size
Differences
Count Element
Index Page
21
Galenium – Differences and Sampling
Browser
Size ./Browser/Size/Element.png
Firefox Element
1440
Chrome Stage ./firefox/1440/stage.png
480
Stage ./chrome/480/stage.png
22
Galenium – Differences and Sampling
WWW
Sample Verification
Expected Actual
23
Galenium - Reporting
▪ ExtentReports 2.0
▪ Specialized test reporting
▪ Can tag test cases
▪ Open Source
▪ Integrated via SLF logback
24
Galenium - Selectors
Element
name
Very central
Selector
concept!
CSS
string
25
Galenium - Selectors
By Locator
Selector
26
Galenium - Process
Galenium process
Input Test Output
27
Demo
28
Playground Session
29
References
▪ Demo project
https://github.com/adaptto/2017-responsive-website-testing-galen-selenium
▪ Galenium Website
http://qa.wcm.io/galenium/index.html
▪ Galen Framework
http://galenframework.com/
▪ Selenium
http://www.seleniumhq.org/
30
Questions or Lunch?
31