简体   繁体   English

由于远程计算机的解析,Selenium脚本在远程计算机中失败

[英]Selenium scripts are getting failed in Remote machine due to Resolution of Remote machine

My Selenium scripts are running fine in my local machine. 我的Selenium脚本在本地计算机上运行良好。 But when I'm trying to execute the same from remote machine. 但是,当我尝试从远程计算机执行相同的操作时。

All the test cases are getting failed due to Resolution of Remote machine(Desktop). 由于远程计算机(台式机)的解析,所有测试用例都失败了。

Could some one suggest please, How to over-come from that problem. 有人可以提出建议,如何克服这个问题。

Working fine with below steps. 使用以下步骤可以正常工作。 driver.manage().window().setSize(new Dimension(1024,546)). driver.manage()。window()。setSize(new Dimension(1024,546))。

We need to add this step before launching Browser. 我们需要在启动浏览器之前添加此步骤。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Selenium RC,如何在远程计算机中运行Selenium RC脚本 - Selenium RC, How to run selenium RC Scripts in remote Machine 以编程方式在远程计算机上启动Selenium Hub - Start a selenium hub on a remote machine programmatically 为什么 Selenium webdriver 没有在远程机器上最大化 chrome? - Why Selenium webdriver is not maximize chrome on remote machine? JAVA硒网格:将远程计算机注册为节点,使其在网格控制台中给出失败的拒绝连接错误 - JAVA selenium grid: register remote machine as node is giving failed connection refused error in Grid console 我们可以使用Selenium 3在远程计算机上驱动浏览器吗? - Can we use Selenium 3 to drive browser on remote machine? 如何使用Jenkins将Selenium测试重定向到远程计算机 - How to redirect Selenium tests to remote machine using Jenkins [Selenium Grid]:无法在远程机器上启动机器人测试 - [Selenium Grid]: Unable to launch Robot tests on remote machine 远程Mac机器上的Selenium Chromedriver非常慢且超时 - Selenium Chromedriver on remote Mac machine very slow and timing out Selenium测试在远程计算机上无法运行Chrome和驱动程序 - Selenium tests fail on remote machine for chrome and ie drivers C#代码在远程计算机上启动Selenium服务器 - C# code to start selenium-server on remote machine
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM