Test automation with geb and groovy

512 Views Asked by At

I am not sure if I do not understand something, but I have problem with write automation tests using Intellij IDEA, groovy, spock, geb and gradle. I have some experience with java, testng, pure webdriver and maven. But now I'm confused a little.

Does Intellij IDEA have some problem with integration groovy and geb? I feel like I write in notepad. Intellij doesn't prompt me nothing about elements from page, methods, when I write tests scripts. I must remember about everything. It's shouldn't look like this.

My structure looks like: -pages (exteded from Page) -tests where I use my pages, static content from pages etc.

Where is my mistake, or that is how work geb and groovy?

1

There are 1 best solutions below

0
On BEST ANSWER

There are certain things you need to do to get authoring assistance when working with Geb in IntelliJ - have a look at IDE support chapter of The Book of Geb.