Selenium-Grid
2018-06-29 本文已影响14人
许你一枝花
https://blog.csdn.net/five3/article/details/9415067

Selenium-Grid是什么?
selenium grid支持分布式,包含一个hub和至少一个node。node会发送配置信息到hub,hub记录并跟踪每一个node的配置信息,同时hub会接受到即将被执行的测试用例及其相关信息,并通过这些信息自动选择可用的且符合浏览器与平台搭配要求的node,node被选中后,测试用例所调用的selenium命令就会被发送到hub,hub再将这些命令发送到指定给该测试用例的node,之后由node执行测试。
什么时候使用Selenium-Grid?
1、在进行兼容性测试时,如在不同的机器,不同的操作系统,不同的浏览器中
2、减少测试套件的运行时间

