在python中self.selenium = selenium("localhost",4444,"*firefox","http://google.com/")如何从我的桌面运行我的python脚本,但是我的selenium rc安装在主server.can中我给我的服务器位置代替localhost...please尽快为我提供解决方案。
我可以在localhost selelnium rc中运行我的脚本。
发布于 2011-07-07 06:00:17
您需要从here阅读更多关于selenium-grid的内容。要使用网格,您应该
self.selenium = selenium("localhost", 4444, "*firefox", "http://google.com/")中更改“
您传递给selenium grid的所有命令都将分布在注册到Hub的RCs中。
请记住,selenium网格只执行多个selenium命令。您应该找到一种可以同时触发多个命令/测试的方法
发布于 2011-07-06 15:53:39
是的,你是correct.Selenium,RC是一个客户端服务器technology.so,我们可以把客户端和服务器放在不同的机器上。
这就是我们通常在不同机器上针对多个浏览器(浏览器测试)运行测试脚本的方式。
干杯
https://stackoverflow.com/questions/6525189
复制相似问题