Does Geb supports multiple browser testing?

139 views
Skip to first unread message

romz.a...@gmail.com

unread,
Oct 4, 2016, 7:35:54 AM10/4/16
to Geb User Mailing List
Hi,

i'm just using and learning Geb for almost 1 week, My question is:

Does geb supports multiple browser testing, where all test should be executed in different browser (Chrome, Firefox) in one run.

Thanks.
Roms

Brian Kotek

unread,
Oct 4, 2016, 9:17:01 AM10/4/16
to Geb User Mailing List
I believe the example project tests in Chrome, Firefox and PhantomJS during a single run. https://github.com/geb/geb-example-gradle

--
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+unsubscribe@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/18f0e756-6953-49fc-94a1-cf25164d851a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Marcin Erdmann

unread,
Oct 4, 2016, 5:01:13 PM10/4/16
to Geb User Mailing List
Roms,

Geb is not a testing framework but a web browser automation framework therefore it will support running all tests in different browsers as long as the test framework and its runtime are able to do it.

As Brian said, an example of running the same suite of tests across different browsers using Gradle is available at https://github.com/geb/geb-example-gradle. Using the setup as in the example it's possible to run the tests using different browsers (one browser runs all the tests, and then the next one runs all the test and so on) by executing a single command.

Marcin

romz.a...@gmail.com

unread,
Oct 7, 2016, 2:28:41 AM10/7/16
to Geb User Mailing List
Thanks Marcin and Brian, i'll try the given example by brian.


On Wednesday, October 5, 2016 at 5:01:13 AM UTC+8, Marcin Erdmann wrote:
Roms,

Geb is not a testing framework but a web browser automation framework therefore it will support running all tests in different browsers as long as the test framework and its runtime are able to do it.

As Brian said, an example of running the same suite of tests across different browsers using Gradle is available at https://github.com/geb/geb-example-gradle. Using the setup as in the example it's possible to run the tests using different browsers (one browser runs all the tests, and then the next one runs all the test and so on) by executing a single command.

Marcin
On Tue, Oct 4, 2016 at 2:16 PM, Brian Kotek <bria...@gmail.com> wrote:
I believe the example project tests in Chrome, Firefox and PhantomJS during a single run. https://github.com/geb/geb-example-gradle
On Tue, Oct 4, 2016 at 7:35 AM, <romz.a...@gmail.com> wrote:
Hi,

i'm just using and learning Geb for almost 1 week, My question is:

Does geb supports multiple browser testing, where all test should be executed in different browser (Chrome, Firefox) in one run.

Thanks.
Roms

--
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/18f0e756-6953-49fc-94a1-cf25164d851a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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.

Sergio del Amo Caballero

unread,
Oct 10, 2016, 1:49:57 AM10/10/16
to Geb User Mailing List
Hi Roms, 

I normally run Geb with different browsers. I normally develop them in Firefox or Chrome and execute them with PhantomJs. In order to do that I use Geb Environment capabilities. I wrote a post to explain it: 


Hope it helps. 

cheers,
Sergio del Amo

Nauman Rai

unread,
May 10, 2017, 8:37:47 AM5/10/17
to Geb User Mailing List
I tried and tested the same example for Firefox, chrome and safari but not worked for me. with the given ./gradlew test command. but yes single browser working fine. 


On Wednesday, 5 October 2016 02:01:13 UTC+5, Marcin Erdmann wrote:
Roms,

Geb is not a testing framework but a web browser automation framework therefore it will support running all tests in different browsers as long as the test framework and its runtime are able to do it.

As Brian said, an example of running the same suite of tests across different browsers using Gradle is available at https://github.com/geb/geb-example-gradle. Using the setup as in the example it's possible to run the tests using different browsers (one browser runs all the tests, and then the next one runs all the test and so on) by executing a single command.

Marcin
On Tue, Oct 4, 2016 at 2:16 PM, Brian Kotek <bria...@gmail.com> wrote:
I believe the example project tests in Chrome, Firefox and PhantomJS during a single run. https://github.com/geb/geb-example-gradle
On Tue, Oct 4, 2016 at 7:35 AM, <romz.a...@gmail.com> wrote:
Hi,

i'm just using and learning Geb for almost 1 week, My question is:

Does geb supports multiple browser testing, where all test should be executed in different browser (Chrome, Firefox) in one run.

Thanks.
Roms

--
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/18f0e756-6953-49fc-94a1-cf25164d851a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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.
Reply all
Reply to author
Forward
0 new messages