简体   繁体   English

硒自动化期间应用程序未完全加载

[英]Application is not loaded completely during selenium automation

When many test cases are running for continuously for about 1 hour some of the pages in application is not loading completely. 当许多测试用例连续运行约1小时时,应用程序中的某些页面无法完全加载。 Selenium webdriver screenshot shows cropped images of the pages in application.This happens only with IE. Selenium Webdriver屏幕截图显示了应用程序中页面的裁剪图像。这仅在IE中发生。 I am using Selenium Webdriver with Java. 我在Java中使用Selenium Webdriver。 Is it because of any performance issue with JVM or IEDriver? 是否是因为JVM或IEDriver出现任何性能问题? Will the working of IEDriver for long time effect the performance? 长时间使用IEDriver会影响性能吗?

Have you tried performance monitoring the client during the test? 您在测试过程中是否尝试过监视客户端的性能 Look for virtual memory growth indicating memory leaks. 查找指示内存泄漏的虚拟内存增长。

I routinely add elapsed time measures to my tests to record how long between clicking a button and the following page being available for use. 我通常在测试中添加经过的时间度量 ,以记录单击按钮和下一页可用之间的时间。 I like to look at the trend; 我喜欢看趋势; is the performance a problem all at once or is it degrading gradually? 性能一下子变成一个问题还是逐渐退化?

Lastly, are you taking screenshots ? 最后,您要截图吗? You should only take them on a scenario failure. 您仅应在方案失败时使用它们。

暂无
暂无

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

相关问题 使用Selenium Automation无法完全看到网页 - Webpage not visible completely with Selenium Automation 使用硒进行网页自动化期间链接未打开 - Link not opening during web page automation with selenium Selenium - 等待后加载父元素,但未完全加载子元素 - Selenium - Parent element is loaded after a wait, but child elements are not completely loaded 使用Selenium和Appium自动化Windows Phone应用程序 - Automation of Windows Phone Application with Selenium and Appium Chrome webdriver 不适用于 Angular 应用程序 - Selenium 自动化 - Chrome webdriver not working for Angular application - Selenium Automation Selenium WebDriver-Appium- Android自动化期间出现NoClassDefFound错误? - NoClassDefFound error during Selenium WebDriver - Appium- Android automation? 在硒自动化过程中绕过“外部协议请求”弹出窗口 - Bypass “External protocol request” popup during selenium automation Android应用程序自动化脚本:通过Appium,Selenium WebDriver,Java:NoSuchElementFoundException - Android application Automation Script: Through Appium, Selenium WebDriver, Java: NoSuchElementFoundException 我们是否有任何通用函数来检查页面是否已在 Selenium 中完全加载 - Do we have any generic function to check if page has completely loaded in Selenium 使用eclipse在硒自动化期间,Web页面会自动重新加载几次 - Web Page is automatically reloading several times during automation in selenium using eclipse
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM