Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/selenium/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Internet explorer 确定哪个硒测试用例抛出SeleniumCommandTimedOutException_Internet Explorer_Selenium - Fatal编程技术网

Internet explorer 确定哪个硒测试用例抛出SeleniumCommandTimedOutException

Internet explorer 确定哪个硒测试用例抛出SeleniumCommandTimedOutException,internet-explorer,selenium,Internet Explorer,Selenium,我有一个大型的selenium测试套件,我在firefox中用selenium IDE开发和测试了它。我刚刚通过Selenium服务器在Internet Explorer上运行了测试套件。所有的测试都通过了Firefox,但是IE在运行测试套件的过程中崩溃了,我不知道哪个测试用例会导致崩溃。在命令行中,我得到以下异常: 15:35:28.000 INFO - Checking Resource aliases HTML suite exception seen: at org.openqa.se

我有一个大型的selenium测试套件,我在firefox中用selenium IDE开发和测试了它。我刚刚通过Selenium服务器在Internet Explorer上运行了测试套件。所有的测试都通过了Firefox,但是IE在运行测试套件的过程中崩溃了,我不知道哪个测试用例会导致崩溃。在命令行中,我得到以下异常:

15:35:28.000 INFO - Checking Resource aliases HTML suite exception seen:
at org.openqa.selenium.server.SeleniumCommandTimedOutException
at org.openqa.selenium.server.htmlrunner.HTMLLauncher.runHTMLSuite(HTMLLauncher.java:130)
at org.openqa.selenium.server.htmlrunner.HTMLLauncher.runHTMLSuite(HTMLLauncher.java:166)
at org.openqa.selenium.server.SeleniumServer.runHtmlSuite(SeleniumServer.java:555)
at org.openqa.selenium.server.SeleniumServer.boot(SeleniumServer.java:248)
at org.openqa.selenium.server.SeleniumServer.main(SeleniumServer.java:208)
16:05:21.659 INFO - Shutting down...
我的Selenium results.html文件为空,没有其他调试线索。如何确定是哪个测试用例导致了问题?是否有可以启用的调试选项

下面是我用来运行测试套件的命令:

java –jar selenium-server.jar –htmlsuite *iexplore http://mysite.com C:\path\to\testsuite.html c:\path\to\result.html

以下是在日志记录打开的情况下运行RC的方法:

java -jar selenium-server.jar -log someLogFileName.log
您还可以拥有浏览器端日志:

java -jar selenium-server.jar -browserSideLog
您还可以将两者结合起来


有关更多信息,请转到。

这是在日志记录打开的情况下运行RC的方法:

java -jar selenium-server.jar -log someLogFileName.log
您还可以拥有浏览器端日志:

java -jar selenium-server.jar -browserSideLog
您还可以将两者结合起来


有关详细信息,请转到。

将-timeout设置为大数值。

将-timeout设置为大数值