[英]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.