开发者

Running Selenium Suites on a Selenium Grid

开发者 https://www.devze.com 2023-03-12 17:52 出处:网络
Does anyone know how to run a selenium test suite from a selenium grid. I know you can do it programatically with a single test, but I was wondering if there was an easy way to do it with a full tes

Does anyone know how to run a selenium test suite from a selenium grid.

I know you can do it programatically with a single test, but I was wondering if there was an easy way to do it with a full test开发者_运维技巧 suite.

Something like java -jar selenium-server.jar -host -htmlSuite .

Thanks for the help.


This page will help you a lot. It demonstrates how to set up a hub and nodes which connect to it registering their 'configurations' (what browsers/'capabilities' they have). And the last piece of the jigsaw which is having code programmatically connect to the hub and run tests on it (the hub will forward stuff to a relevant node so the tests get performed there).


No. Selenium Grid is a facility for Selenium RC users to run their tests across a variety of machines with fine-grained configurations (e.g., a particular version of a browser). As far as I know, there's no ability to specify that in the htmlSuite. If there were, you might be able to make it work. But running just a suite like this is not supported and likely never will be because that's not what it was designed for.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号