Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Agenda
Basic setup
Syntax Overview
Page Abstraction
Overview
Modules
Functions
Functional Testing
Recap and Questions
Introductions
Interactive Shell
Interactive Shell
https://github.com/jhamit/geb-examples
Interactive Shell
Basic Geb syntax looks familiar, though there are some differences with jQuery
http://www.gebish.org/manual/current/
Key Objects
geb.Browser
geb.navigator.Navigator
geb.js.JavascriptInterface
Nice Features
b.title
b.$('div.content-main')
b.$('div.tweet').first().find('a[href="/improving"]',0)
Page Abstraction
Page Abstraction
Define the essence of the page in order to separate the concerns of test
methods and web elements
These tools allow flexibility in page design without breaking tests
Page Conceptual abstraction of a URLs
Functional Testing
Functional Testing
10
Functional Testing
More Geb to come so follow along and share your techniques with the
community
More Geb to come
Follow along @josh_hamit or JoshHamit.com
11
12