Learn Automation With Geb and Spock and get all benefit of Selenium WebDriver

Hello friends I have always been in search of new technology and new automation tool that could help us to make our task easy and more like a cake walk and have found Geb – Very Groovy Browser Automation framework and this is going to be your next best web application automation framework due to its great features.

As we all know that  Selenium WebDriver has gained a very good user base and it has become the phenomena of Software Testing and most asked skill set for each and every software tester and this is best browser automation tool that is moving ahead with it new Avatar “Selenium 3”. You could see what Simon has detailed all about and complete webinar could be seen on Joe Colantonio site with title Selenium 3 Sneak Peak – What You Need to Know.

But this is not the end of Selenium WebDriver explosion but just the beginning of new era where new browser automation frameworks based on Selenium WebDriver are coming in to market place. But not all fall right on the expectations of automation engineer who are devoting their precious time to learn new aspect and context of writing automation script.

In series of Selnium WebDriver wrapper, Geb has emerged as one of the leading framework that has provided solution to some of the limitation of Selenium WebDriver by using Groovy DSL and Jquery to make automation more fun.

So let me start with a small introduction of this framework and some of its benefit of using Geb over Selenium WebDriver.

Geb is a browser automation framework which is a wrapper on Selenium  WebDriver and it has embraced some of the features that make is better than Selenium WebDriver at some of the fronts

Features those need to be looked upon by every Selenium WebDriver Engineer to tap the features of Geb framework to address many of the issues that people use to face while writing script through Selenium WebDriver

  • Geb provides a very mature page object modelling
  • It used jquery like api to find the web element on page which is quite faster
  • This framework supports all the browser those are supported by Selenium WebDriver
  • Best part is, Use of groovy for scripting it means we have two language one is groovy and second one is java to write our script.
  • Good integration with most of the java testing framework along with most of the BDD based framework including Spock framework which provides a feature of an enterprise testing framework
  • Geb integration with most of the build tool is quite easy.

For the same I have created one course on Udemy with title “Learn automation with Geb and Spock” one week back and people are showing their love of this tool and might be you could also take it as opportunity to learn new Selenium WebDriver based framework.

Take away of this course

  1. Good understanding of Groovy
  2. Zero to expert level understanding of Geb Automation tool
  3. You will also learn one new Testing framework Spock that is also being used for unit testing of Java and Groovy code
  4. You will get step by step tutorial to learn geb, groovy and spock.

 

So take this course at 50% discount from here

Geb and Spock Tutorial

Those who are going to take this course could get chance to get another 50% discount on my Groovy Course as well.

I would be happy to assist you with your query on each Sunday from 8-9 AM IST on my skype id :dwarika.dhish.mishra

Executing Selenium WebDriver Scripts in Safari Browser using SafariDriver

Previously SafariDriver was supporting safari browser on Windows machine but recently Apple has decided to remove its support for windows and then executions on safari has become the job of Mac machine. So for the same we need mac machine where safari browser should be installed. 

Safaridriver has been implemented as a plugin in safari browser and this provides a perfect match of client and server machine where SafariDriverServer acts as server and Selenium-Java/Language binding acts as client .

So for the same we need to download the plugin and it needs to be installed on Safari browser and once plugin installed on Safari every thing is set and you can write script for safari like any other browser by calling the

So before moving ahead let see the steps to perform these actions.

1- Go to http://seleniumhq.org

2- Go to Download tab

3- Again navigate to “SafariDriver” heading

4- Now click on hyperlink beside “Latest Release”

Sitewide-30percent728x90
5- It will download the plugin and double click on downloaded file and it will open extension installation screen. Click on “Trust ” button and it will install it in browser and by default it will check WebDriver checkbox.

6- Go to your eclipse and write scripts and it will work like any other browser on Mac machine

For better understanding watch video once and if still you have some doubt then please share your feedback.

 

1 2 3 43