Watir-Webdriver: How to run headless, and in grid
Asked Answered
D

2

5

I'm upgrading my script from Watir to Watir-Webdriver and I'm wondering how to take advantage of headless-browser testing and grid testing. I've done some research into it but my sources don't seem substantiated, and tutorials are very thin on the ground right now, so has anyone done headless browsing or grid testing? How did you achieve it, and what did you learn that you wish you knew when you started?

I'm working on XP and MS Server '03 VM machines. If I make progress on this I'll try to keep the question updated with information.

Disjoint answered 8/6, 2011 at 14:27 Comment(0)
F
4

Have a look at Watir grid https://github.com/90kts/watirgrid might be what you are after.

Flank answered 14/6, 2011 at 18:17 Comment(3)
Thanks for your reply - I did consider WATiR grid, as well as selenium grid. I'm currently looking into how WATiR grid is best implemented, so pending the autobiography of a grid tester yours is the answer I'm looking for :)Disjoint
It is something I am planning to look at for our web application, I would be interested on how you get on running your existing webdriver tests on a grid.Flank
Cool, I'll try and keep my question updated with my progress, when I can make itDisjoint
H
5

I have written a post about how to run Watir-WebDriver heads headlessly using real web browsers in the cloud using Amazon EC2.

See: http://watirmelon.com/2011/08/29/running-your-watir-webdriver-tests-in-the-cloud-for-free/

Hunt answered 29/8, 2011 at 6:11 Comment(1)
I actually subscribe to your blog on google reader, but I didn't make the connection with my SO question :). Thanks muchly, though, I will be looking into it.Disjoint
F
4

Have a look at Watir grid https://github.com/90kts/watirgrid might be what you are after.

Flank answered 14/6, 2011 at 18:17 Comment(3)
Thanks for your reply - I did consider WATiR grid, as well as selenium grid. I'm currently looking into how WATiR grid is best implemented, so pending the autobiography of a grid tester yours is the answer I'm looking for :)Disjoint
It is something I am planning to look at for our web application, I would be interested on how you get on running your existing webdriver tests on a grid.Flank
Cool, I'll try and keep my question updated with my progress, when I can make itDisjoint

© 2022 - 2024 — McMap. All rights reserved.