Parse JSON using Command Line.

Hello Guys! This is my second post of this month. In this post I will be explaining on how to parse JSON using command line. A command-line processor can be used to test or debug JSON responses from server. We can easily feed JSON responses from web server into the...

Use Geb in Cucumber functional automated testing

Today we are going to learn how to use Geb in Cucumber functional automated testing? If you are new to Cucumber than please go through my blog. Cucumber Basic concept Fist-of-all if you want use Geb in your application than add these lines in BuildConfig.groovy def...

How to use Scenario Outline and Examples in cucumber?

Today we are going to learn how to use Scenario Outline and Examples in cucumber?. If you are new to cucumber functional automated testing than please go through my blog post Cucumber basic concept First-of-all create a feature file as LoginTest.feature and add these...

How to set text in CKEDITOR using selenium?

If you want to know how to set text in CKEDITOR using selenium than here is the way please go through this. WebDriver driver = new FireFoxDriver() JavascriptExecutor js; if ((driver) instanceof JavascriptExecutor) { js = (JavascriptExecutor)(driver); }...

One-To-One mapping with shared primary keys

Here’s a simple example of how to share primary keys between two persistent entities having one-to-one association. We’ll have a User entity which has one address. Here’s the User POJO: public class User { Long id; Address address; String username;...

Hibernate Second level cache

I am writing a blog on hibernate cache. I have read articles recently and writing here my findings. Hibernate cache is used to reduce interaction with database. We store data in cache and use it whenever application tries to interact with database. Hibernate at first...

Heartbleed explained

Heartbleed bug has been a nightmare for all major public websites this week which are using OpenSSL version 1.0.1 to 1.0.1f (inclusive). Here is a brief explanation about this bug : 1. OpenSSL is a cryptographic library which is used to encrypt communication over...