Scaling Selenide Tests with Selenium Grid

763 views
Skip to first unread message

Don Lam

unread,
May 25, 2015, 4:04:04 AM5/25/15
to sele...@googlegroups.com
Hello Selenide Group,

First let me say, what a wonderful project this is! I am really excited to check it out, so many thanks to this great work you guys are putting out there!

Question:
1. How can we setup selenide test to run with a selenium grid 

2. Can selenide be combined with testng and use testng's annotations to run parallel test on methods?

3. Selenide can use phantomjs headless driver for quicker test? Please help point to documentation for this setup.


Thank you again, with so much appreciation!

Regards,
Lam


--
The greatest quality is seeking to serve others

Andrei Solntsev

unread,
May 25, 2015, 3:54:42 PM5/25/15
to Don Lam, sele...@googlegroups.com
Hi Lam.
Thank you!

1. Yes, you can use Selenide with Selenium Grid. Find an answer in Selenide FAQ:

Can I use Selenide with Selenium Grid?

Yes, Selenide supports Selenium Grid. Just add property -Dremote=http://localhost:5678/hub when running tests.


2. Yes, you can run Selenide tests with TestNG. Yes, in parallel too.
This is example project using Selenide+TestNG: https://github.com/codeborne/selenide_examples/tree/master/github

3. Yes, you can use PhantomJS with Selenide. Look at FAQ:

Can I run Selenide tests with Internet Explorer? Headless browser?

Yes. Selenide can run tests with any browsers that has webdriver binding. The most popular browsers are supported from the box (chrome, firefox, ie, phantomjs, htmlunit, safari, opera). Others can be also used by passing webdriver class name.

E.g. to run tests with PhantomJS browser: -Dbrowser=phantomjs


Hope it helps.
Good luck, and feel free to ask more questions!

Andrei Solntsev


--
You received this message because you are subscribed to the Google Groups "selenide" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenide+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages