Getting started with Groovy

Hello everyone!
I am a fairly new user of Katalon,
I have create a few test scripts and have also set up one or two suites that call some Excel spreadsheets, so the basics I am getting a good handle on.

I have noticed from some of the available tutorial videos on youtube that a lot of activity happens within the scripting side of Katalon, and looking at the questions and answers show a lot of discussion around things like importing and so on.

My question if for the beginners like myself, with no previous exposure to Groovy;
What is the best way to learn groovy in relation to Katalon?
Is it worth taking a full course and learning all the aspects of the language?
Or is it better to just learn what the code is doing by analysing the script portion of tests completed using the manual builder and the record and playback?

Any insights or advise would be greatly appreciated.
Thanks!

1 Like

Hi James

I think the best way to learn is by solving a real problem. It keeps you motivated and that’s the way I learn. :#

I don’t think you need to take a full Groovy course (not that I’m opposed to it) but learn as you go. If you have Java experience it is a big plus. You will find plenty of code examples in the forum, I am sure you will get them.

Still, here are some links that proved helpful to me, hope you find them useful, too:

http://grails.asia/grails-tutorial-for-beginners-playing-with-groovy-language

http://mrhaki.blogspot.com/

In addition to what Mate said…

Main index http://www.groovy-lang.org/documentation.html
Also as a single page doc: http://www.groovy-lang.org/single-page-documentation.html

Groovy Lang http://docs.groovy-lang.org/docs/latest/html/documentation

http://www.groovy-lang.org/semantics.html (loop, switch, if, etc.)

http://groovy-lang.org/metaprogramming.html

http://groovy-almanac.org/

Plus, this forum. We’re all learning, too B)

1 Like

Thanks guys, that’s a good load of things to help get me and my team mates started with scripting!

@James, Your profile picture, I love that game.

@James Inform

James said:

Hello everyone!
I am a fairly new user of Katalon,
I have create a few test scripts and have also set up one or two suites that call some Excel spreadsheets, so the basics I am getting a good handle on.

I have noticed from some of the available tutorial videos on youtube that a lot of activity happens within the scripting side of Katalon, and looking at the questions and answers show a lot of discussion around things like importing and so on.

My question if for the beginners like myself, with no previous exposure to Groovy;
What is the best way to learn groovy in relation to Katalon?
Is it worth taking a full course and learning all the aspects of the language?
Or is it better to just learn what the code is doing by analysing the script portion of tests completed using the manual builder and the record and playback?

Any insights or advise would be greatly appreciated.
Thanks!

If you know Java you can use it to it works very well :slight_smile:
It’s a perfect product when you test web apps and come from Selenium :slight_smile:
Hope it lasts :slight_smile: