Daahh !! Who doesn't know how to handle exceptions. A simple try-catch block would do the job. But think of so many methods where we will have to keep the same code of catching exceptions and then creating the desired response. Hmm, haven't you heard of the common try-catch in the filter? Well, we can do that! But let's say we have...
If you haven't combined Groovy scripts with your Java projects yet, you're missing out. It's super easy with Maven, and it'll make your code more modular and elegant. But most importantly, you'll have some fun scripting, and if nothing else, you'll most certainly benefit from some of the grooviest features, including the magic that...
After an exciting and eventful day one, we entered day two of GR8Conf IN 2017. Day two was pretty awesome with lots of hands-on coding and labs in each session. The day had three parallel tracks with amazing speakers. The atmosphere, the sessions and the speakers really made the day wonderful. Despite a cold day, we could feel...
GR8Conf IN 2017, the second Indian edition of the GR8Conf was held on the first week of January in New Delhi. GR8Conf is an independent series of conferences in India, Denmark and the US that are dedicated to the Groovy and Grails community. The 2-day conference was attended by over 200 Groovy and Grails enthusiasts and technocrats...
After the successful GR8Conf IN 2016, we are proud to host GR8Conf IN 2017, India's biggest developer conference dedicated to the Grails and Groovy community. Like last year, we have received country-wide registration from developers/evangelists/technologists from Groovy and Java ecosystem. GR8Conf IN 2017 is a 2-day event starting...
The day one at GR8Conf EU June 2016 Copenhagen, Denmark which is university day was pretty awesome with lots of hands-on exercises or labs in each session. Also, we got very cool mugs following are the pics: The first day of the GR8Conf went beyond our expectations. The atmosphere, the sessions and the speakers really made the...
It's finally here. The 2016 edition of GR8Conf EU in Copenhagen is starting from today. We have been coming to GR8Conf EU from last 5+ years. Just like every year, the line-up of sessions & speakers is really great. The Global part of the conference is accentuated by the attendees & speakers who are coming from 20+ nations. ...
I know it’s too late, almost 2 weeks, since the GIDS16 (Great Indian Developer Summit 2016) ended - But the thought that "it’s better to be late than never" is motivating me to write down this post. It was a 5 days event - initial 4 days in Bengaluru and the last day in Pune. We attended day 2, 3 and 4 in Bengaluru. It featured...
It was indeed an amazing GR8Conf IN 2016 with more than 200 participants, marvelous line-up of speakers and fully packed parallel sessions at The Lalit, New Delhi. This year the conference was sponsored by OCI, which is the new home for Grails. The entire conference was also live streamed by #fame with more than 4000 viewers across the...
Automation Testing, Technology
Use Case While writing functional tests sometimes we need to test whether a certain javascript objects have some particular values. If we have a JavaScript object such as in our page [code] var myObj = { attr1 : 'attr1-val', attr2 : 'attr2-val'}; [/code] then after reaching that page we can execute the below in our GEB spec...
Groovy Language enhancements that help with Regex Slashy Strings is the first thing that comes to my mind while talking about regex in Groovy. They are a simpler way to represent regex patterns as String compared to their Java counterparts. If we have to find all numbers in a String we can do something like this in Java [code] ...