Learn Automation with Geb and Spock
3.7 (212 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
855 students enrolled

Learn Automation with Geb and Spock

Another wrapper on Selenium WebDriver to resolve your Automation need, So learn Geb and Spock to automate
3.7 (212 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
855 students enrolled
Created by Abode QA
Last updated 2/2018
English
English [Auto-generated]
Current price: $69.99 Original price: $99.99 Discount: 30% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 6 hours on-demand video
  • 11 articles
  • 5 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Learn Geb from scratch
  • Learn page object modelling and its implementation
  • Understand the meaningful use of Spock Testing Framework
  • Quantitative understanding of CSS Selector
  • Learn basics of Groovy Script
Requirements
  • No need of prior knowledge of Groovy, Selenium WebDriver or Geb.
Description

Geb:
Geb is a testing framework for automation of browser which is written on top of Selenium WebDriver library so it can works on all browsers that is supported by Selenium. We have two added benefit in one way we are working with Geb that provides an extra layer of convenience and productivity but we have freedom to switch back to Selenium to perform all the automation in Selenium Ways.

Geb uses the dynamic language features of Groovy to provide a powerful content definition DSL (for modelling content for reuse) and key concepts from jQuery to provide a powerful content inspection and traveral API (for finding and interacting with content). So in another word we could say 

GEB = Selenium WebDriver + Java +Groovy +Jquery

Spock:
In this course we would be learning one more testing framework Spock that is again a very sophisticated testing and specification based framework for Java and Groovy. Spock Testing framework uses a very expressive and to the point specification language. 

Please watch this course at 1.25X or 1.5X speed to avoid long wait in speech.

This course is going to give you confidence in web application automation with Geb and Spock.
So wish you all a happy learning and hope for the birth of one more Automation Engineer.

Note:  I would be happy to help you through answering your GEB and SPOCK related query in Q&A section. So don't hesitate to ask your query in Q&A section of this course

Who this course is for:
  • Passionate individual who want to advance in career with little or no knowledge of Automation
  • Manual Testers
  • Anyone who want to learn about new Automation tool
  • Automation Engineer
Course content
Expand all 66 lectures 05:53:38
+ Geb Automation Framework
2 lectures 03:58

In this tutorial we are going to see the introduction of Geb and this tutorial contain

  1. Introduction of Geb
  2. Component that makes Geb
  3. Use of Geb
Preview 03:00

In this tutorial you are going to see a comparative study of Selenium WebDriver and Geb and here you would be able to see the advantages of Geb over Selenium WebDriver

Advantages of Geb over Selenium WebDriver
00:58
+ Project environment setup
4 lectures 25:30

This tutorial covers a step by step demonstration of java installation in windows machine.Starting from downloading right version of JDK to installation.

Java Installation on windows machine
04:07

Setting Java Classpath has been covered in this tutorial and this has included step by step path to set class path in windows machine.

Setting Java Path
04:51

This tutorial is the first step toward the installation of eclipse one de facto IDE which have features like anything

Eclipse Installation
07:52

This tutorial is going to have the knowledge to install groovy in eclipse ide and this is the first step to the learning of groovy programming language.

Groovy Plugin Installation
08:40
+ Groovy Basics
20 lectures 01:51:34

In this tutorial we are going to see

  1. Introduction of Groovy
  2. Its use and its basic advantage over other jvm languages
What Is Groovy
02:26
Creating groovy project in eclipse
01:38
Comments
03:26
Converting java to groovy
05:57
Exercise 1
00:03
Exercise 1:Answer
00:19
Creating first groovy class/scipt
05:09
Script in detail
02:29

This tutorial is going to cover the identifier used  in Groovy programming language and have some good example of good and bad identifier definition in groovy.

Identifier in Groovy
01:11

Variables are the real life line of any programming language and in this tutorial we have talked much about variables in groovy

Variables in Groovy
11:36

This tutorial have the real concept of object and its creation, In this tutorial we have talked about

  1. Positional constructor
  2. Named constructor

Preview 16:22
Loops in groovy
13:04
Array in groovy
09:31
List in groovy
19:26
Map in groovy
05:35
Reading File in Groovy
01:23
Reading file line by line
03:02
Reading file word by word
03:59
Writing a file
01:38
Other File Operations
03:19
+ Geb Installation and First Script
3 lectures 15:16

This is the first step in learning of Geb framework because here we are going to see basic installation process of Geb using maven.

Geb installation in eclipse using maven
08:31

In this tutorial we are going to learn

  1.  Launching browser
  2. opening the URL using go method
First Geb Script
06:14

This tutorial is going to help you to import eclipse project in you eclipse.

Importing archive project in Eclipse
00:31
+ Handling various browser like Chrome, IE
2 lectures 07:12
Launching chrome browser in geb
06:43
Launching internet explorer in geb
00:29
+ Locating content on web pages
6 lectures 47:43
Introduction of Interaction of Content on page
01:25
JQuery Plugin Installation
01:07
jQuery Selector
03:11
CSS Selector Part 1
11:56
CSS Selector Part 2
14:38
Navigator API in Geb
15:26
+ Handling various control element on webpage
7 lectures 20:54
Identifying element on webpage
03:48
Handling button
00:24
Handling Text-box to enter value
03:41
Checking radio button in geb
02:06
Handling checkbox using Geb
02:27
Selecting options from drop-down in geb
05:13
File upload in geb(One Approach)
03:15
+ Geb Configuration and use of drive() method
2 lectures 16:13
Configuration in Geb(GebConfig.groovy
10:26
Use of driver() method
05:47
+ Spock Testing framework
10 lectures 45:50
Introduction of spock
03:12
Environment setup for spock
04:55
Compatibility of spock core jar and active groovy compiler version
03:30
Building blocks of Spock Test Case
01:21
Build block of test case : Import, Specification Class and Instance field
05:29
Feature Method
04:20

In this section we are going to learn about blocks like when, then, given, expect and setup and where in detail with generic examples.

Blocks in Spock
11:25
Fixture method in spock
03:04
Extensions in Spock
05:14
+ Page Object Model
6 lectures 31:38
Introduction of Page Object Model
08:50
Generic template of page classes
02:26
Creating first real time page class
15:29
to() method in page object model
00:48
via method in page object model in geb
01:15