3.27 out of 5
3.27
178 reviews on Udemy

Learn Automation with Geb and Spock

Another wrapper on Selenium WebDriver to resolve your Automation need, So learn Geb and Spock to automate
Instructor:
Abode QA
715 students enrolled
English [Auto-generated]
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

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

Geb Automation Framework

1
Geb Introduction

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
2
Advantages of Geb over Selenium WebDriver

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

Project environment setup

1
Java Installation on windows machine

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

2
Setting Java Path

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

3
Eclipse Installation

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

4
Groovy Plugin Installation

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 Basics

1
What Is Groovy

In this tutorial we are going to see

  1. Introduction of Groovy
  2. Its use and its basic advantage over other jvm languages
2
Creating groovy project in eclipse
3
Comments
4
Converting java to groovy
5
Exercise 1
6
Exercise 1:Answer
7
Creating first groovy class/scipt
8
Script in detail
9
Identifier in Groovy

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.

10
Variables in Groovy

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

11
Creating object in groovy

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

  1. Positional constructor
  2. Named constructor

12
Loops in groovy
13
Array in groovy
14
List in groovy
15
Map in groovy
16
Reading File in Groovy
17
Reading file line by line
18
Reading file word by word
19
Writing a file
20
Other File Operations

Geb Installation and First Script

1
Geb installation in eclipse using maven

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

2
First Geb Script

In this tutorial we are going to learn

  1.  Launching browser
  2. opening the URL using go method
3
Importing archive project in Eclipse

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

Handling various browser like Chrome, IE

1
Launching chrome browser in geb
2
Launching internet explorer in geb

Locating content on web pages

1
Introduction of Interaction of Content on page
2
JQuery Plugin Installation
3
jQuery Selector
4
CSS Selector Part 1
5
CSS Selector Part 2
6
Navigator API in Geb

Handling various control element on webpage

1
Identifying element on webpage
2
Handling button
3
Handling Text-box to enter value
4
Checking radio button in geb
5
Handling checkbox using Geb
6
Selecting options from drop-down in geb
7
File upload in geb(One Approach)

Geb Configuration and use of drive() method

1
Configuration in Geb(GebConfig.groovy
2
Use of driver() method

Spock Testing framework

1
Introduction of spock
2
Environment setup for spock
3
Compatibility of spock core jar and active groovy compiler version
4
First Test Case Using Spock
5
Building blocks of Spock Test Case
6
Build block of test case : Import, Specification Class and Instance field
7
Feature Method
8
Blocks in Spock

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

9
Fixture method in spock
10
Extensions in Spock

Page Object Model

1
Introduction of Page Object Model
2
Generic template of page classes
3
Creating first real time page class
4
First Test Case Using Page Class(Small demo) with drive() method
5
to() method in page object model
6
via method in page object model in geb

Spock Intergration with Geb

1
Spock Integration with Geb
2
Creating first Geb Script using Spock Framework

Source Code For Download

1
Source code for complete lecture

Module In Geb and It's use

1
What is module and how to use it and call it in any of the specification script
You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
3.3
3.3 out of 5
178 Ratings

Detailed Rating

Stars 5
43
Stars 4
51
Stars 3
44
Stars 2
23
Stars 1
17
ffc15aeeaba29ba07662bb1402f0a5a3
30-Day Money-Back Guarantee

Includes

6 hours on-demand video
11 articles
Full lifetime access
Access on mobile and TV
Certificate of Completion