我试图通过Selenium-RC/PHPUnit的运行在Internet Explorer中一个基本的测试,它总是与Internet Explorer中的硒测试总是超时?
# phpunit c:\googletest.php
PHPUnit 3.4.15 by Sebastian Bergmann.
E
Time: 35 seconds, Memory: 4.75Mb
There was 1 error:
1) Example::testMyTestCase
PHPUnit_Framework_Exception: Response from Selenium RC server for testComplete()
.
Timed out after 30000ms.
C:\googletest.php:17
FAILURES!
Tests: 1, Assertions: 0, Errors: 1.
[email protected] C:\xampp
#
返回命令历史记录的最后一个命令是waitForPageToLoad(30000)。相同的测试运行良好,并在Firefox中完成。我怎样才能让这个测试在Internet Explorer中运行和完成?
谢谢
我们可以看看你的测试是什么样子吗? – AutomatedTester 2010-08-02 07:25:30
如果您在Vista上使用IE7或更高版本,请尝试将测试下的网站添加到受信任的网站上 – 2010-08-02 13:21:25