How to run GEb scripts on Selenium Grid

679 views
Skip to first unread message

NagaRaju Dasam

unread,
Jun 23, 2015, 6:46:26 AM6/23/15
to geb-...@googlegroups.com
Hi Team,

I have created some GEB scripts by seeing sample GEB project(https://github.com/geb/geb-example-gradle) and now i want to run those scripts using selenium grid. Could you guys please help me on this??

--

Brian Kotek

unread,
Jun 23, 2015, 9:07:43 AM6/23/15
to geb-...@googlegroups.com
Maybe something like this would help? https://github.com/kohandrii/geb-spock-selenium-grid

--
You received this message because you are subscribed to the Google Groups "Geb User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geb-user+u...@googlegroups.com.
To post to this group, send email to geb-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/geb-user/CAKfaP6JeGBuHGmv3pF8RO-Jv1wpo9qqZhoPMXbSndAKd6zBycg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

NagaRaju Dasam

unread,
Jun 23, 2015, 9:12:40 AM6/23/15
to geb-...@googlegroups.com
thanks Brian..but when i try to run script it gives me nullpointer exception.

selenium.grid2.geb.presentation.TestExampleSpecification > Add a book to 'Testin
g' wishlist at amazon.co.uk                                                    F
AILED
    java.lang.NullPointerException at TestExampleSpecification.groovy:23
    geb.driver.DriverCreationException
        Caused by: org.openqa.selenium.remote.UnreachableBrowserException
            Caused by: org.apache.http.conn.HttpHostConnectException
                Caused by: java.net.ConnectException
    geb.driver.DriverCreationException
        Caused by: org.openqa.selenium.remote.UnreachableBrowserException
            Caused by: org.apache.http.conn.HttpHostConnectException
                Caused by: java.net.ConnectException


For more options, visit https://groups.google.com/d/optout.

Brian Kotek

unread,
Jun 23, 2015, 9:16:03 AM6/23/15
to geb-...@googlegroups.com
If you look at the static value it is trying to load, it is a localhost URL. So the test itself may not run for you, but I meant for you to just try using this as the basis for your own tests. 

NagaRaju Dasam

unread,
Jun 23, 2015, 9:29:04 AM6/23/15
to geb-...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages