Internet explorer Ubuntu上Internet Explorer的Selenium测试
我在Ubuntu 14.04上工作。我想用selenium RC做无头测试 我已安装: -Phpunit v4.6.6 -Php 5.5.9 -酒 -ie8与WineTracks ie8 我有xvfb在运行。 我运行SeleniumServer2.45Internet explorer Ubuntu上Internet Explorer的Selenium测试,internet-explorer,ubuntu,selenium,selenium-webdriver,phpunit,Internet Explorer,Ubuntu,Selenium,Selenium Webdriver,Phpunit,我在Ubuntu 14.04上工作。我想用selenium RC做无头测试 我已安装: -Phpunit v4.6.6 -Php 5.5.9 -酒 -ie8与WineTracks ie8 我有xvfb在运行。 我运行SeleniumServer2.45 export DISPLAY=":99" && java -jar /usr/local/bin/selenium-server-standalone-2.45.0.jar -trustAllSSLCertificates 要启
export DISPLAY=":99" && java -jar /usr/local/bin/selenium-server-standalone-2.45.0.jar -trustAllSSLCertificates
要启动测试,我有一个phpunit.xml phpunit-configuration phpunit.xml文件,在其中定义浏览器
<phpunit backupGlobals="false"
backupStaticAttributes="false"
syntaxCheck="false"
verbose="true"
stopOnError="false"
stopOnFailure="false"
stopOnIncomplete="false"
stopOnSkipped="false"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true">
<selenium>
<browser name="Ie" browser="*custom wine 'C:\Program Files\Internet Explorer\iexplore'" host="127.0.0.1" port="4444" timeout="30000" />
<browser name="Chrome" browser="*googlechrome" host="127.0.0.1" port="4444" timeout="30000" />
<browser name="Firefox" browser="*firefox" host="127.0.0.1" port="4444" timeout="30000" />
</selenium>
<testsuites>
<testsuite name="Tests">
<directory suffix=".php">tests</directory>
</testsuite>
</testsuites>
<logging>
<log type="junit" target="report/reportJunit.xml" logIncompleteSkipped="true"/>
</logging>
</phpunit>
这不适用于IE8。Firefox和Chrome都很好。有没有办法让我在Ubuntu上的Internet Explorer上运行测试?
谢谢你的帮助