Hi Jürgen
2013/2/22 Jürgen Kindler <
justb...@googlemail.com>:
> I wonder if Geb is able to support stuff like drag & drop and other features
> of rich internet applications.
It is abel to do some things in that area. I won't cover that in too
much datail though since I haven't experimented with it yet.
If you like here is a direct link to that chapter in the "Book of Geb".
http://www.gebish.org/manual/current/javascript.html#javascript_ajax_and_dynamic_pages
> Why isn't Geb done with JavaScript, but Groovy?
Because it is an extension to Goovy testing and (optionally) Spock. It
is not restricted to testing behaviour of web pages but can do a lot
of other sings besides that. For example you could trigger an action
using Geb (fill a form, click a button), verify the feedback (is that
message present on the page) and than verify the data got to your
backand and caused a notification email using the might of Groovy's
libs.
> How does it relate to other tools like Selenium and JavaScript test
> frameworks (starting with jQuery's test support ...)? (In other words:
> What's so cool about it ? :-) )
It wrappes itself around Selenium, adds some really time saving
concepts like page objects or page definitions and is not only a web
testing framework but an extension for a full featured test framework.
I think that Geb is a great tool for testing a web application as a
whole and not only the frontend of it.
So if you like to test the frontend only, I think there might be
better tools in jQuery and things like that.
If you have more things/interfaces you'd like to test or if you are
with a lot of Java/Groovy developers and not that many wev developers
JS experts etc., than Geb might be the better choice.
Best regards
Micha
>
> Cheers
> Jürgen