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
In this tutorial we are going to see the introduction of Geb and this tutorial contain
- Introduction of Geb
- Component that makes Geb
- Use of Geb
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
This tutorial covers a step by step demonstration of java installation in windows machine.Starting from downloading right version of JDK to installation.
Setting Java Classpath has been covered in this tutorial and this has included step by step path to set class path in windows machine.
This tutorial is the first step toward the installation of eclipse one de facto IDE which have features like anything
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
In this tutorial we are going to see
- Introduction of Groovy
- Its use and its basic advantage over other jvm languages
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.
Variables are the real life line of any programming language and in this tutorial we have talked much about variables in groovy
This tutorial have the real concept of object and its creation, In this tutorial we have talked about
- Positional constructor
- Named constructor
Geb Installation and First Script
This is the first step in learning of Geb framework because here we are going to see basic installation process of Geb using maven.
In this tutorial we are going to learn
- Launching browser
- opening the URL using go method
This tutorial is going to help you to import eclipse project in you eclipse.
Handling various browser like Chrome, IE
Locating content on web pages
Handling various control element on webpage
Geb Configuration and use of drive() method
Spock Testing framework
In this section we are going to learn about blocks like when, then, given, expect and setup and where in detail with generic examples.