Php 有像selenium rc这样的服务器吗?

Php 有像selenium rc这样的服务器吗?,php,Php,你知道像Selenium RC这样的服务器吗?我在Windows上使用xampp,无法在本地主机上运行Selenium。 我想使用php语言 我得到了这个错误: Warning: require_once(PHPUnit/Framework/TestCase.php) [function.require-once]: failed to open stream: No such file or directory in C:\xampplite\htdocs\robot\GoogleTest.p

你知道像Selenium RC这样的服务器吗?我在Windows上使用xampp,无法在本地主机上运行Selenium。 我想使用php语言

我得到了这个错误:

Warning: require_once(PHPUnit/Framework/TestCase.php) [function.require-once]: failed to open stream: No such file or directory in C:\xampplite\htdocs\robot\GoogleTest.php on line 5

Fatal error: require_once() [function.require]: Failed opening required 'PHPUnit/Framework/TestCase.php' (include_path='.;C:\xampplite\php\PEAR;./PEAR/') in C:\xampplite\htdocs\robot\GoogleTest.php on line 5
PHPUnit/Framework/TestCase.php在哪里,我不知道

好的,最后一步。我在安装phpunit时出错:

    C:\xampplite\php>pear install phpunit/PHPUnit
Unknown remote channel: components.ez.no
Unknown remote channel: components.ez.no
phpunit/PHPUnit requires PEAR Installer (version >= 1.9.1), installed version is
 1.9.0
phpunit/PHPUnit can optionally use PHP extension "dbus"
phpunit/DbUnit requires PEAR Installer (version >= 1.9.1), installed version is
1.9.0
phpunit/File_Iterator requires PEAR Installer (version >= 1.9.1), installed vers
ion is 1.9.0
phpunit/PHP_CodeCoverage requires PEAR Installer (version >= 1.9.1), installed v
ersion is 1.9.0
phpunit/PHP_CodeCoverage requires package "channel://components.ez.no/ConsoleToo
ls" (version >= 1.6)
phpunit/PHP_CodeCoverage requires package "phpunit/File_Iterator" (version >= 1.
2.2)
phpunit/PHP_CodeCoverage can optionally use PHP extension "xdebug" (version >= 2
.0.5)
phpunit/PHPUnit_MockObject requires PEAR Installer (version >= 1.9.1), installed
 version is 1.9.0
phpunit/PHPUnit_Selenium requires PEAR Installer (version >= 1.9.1), installed v
ersion is 1.9.0
phpunit/PHP_TokenStream requires PEAR Installer (version >= 1.9.1), installed ve
rsion is 1.9.0
phpunit/PHP_TokenStream requires package "channel://components.ez.no/ConsoleTool
s" (version >= 1.6)
No valid packages found
install failed

该错误表明未安装PHPUnit。您可以通过pear进行安装:

pear channel-update pear.php.net
pear upgrade-all
pear channel-discover pear.phpunit.de
pear channel-discover components.ez.no
pear install --alldeps phpunit/PHPUnit
Selenium是一种语言不可知的工具。您需要查找有关使用PHP安装selenium的教程/指南。最著名的实现是通过PHPUnit。这是有意义的,因为PHPUnit是一个测试框架,而Selenium只是另一种测试方法


以下是PHPUnit关于安装PHPUnit/selenium的指南:

错误表明未安装PHPUnit。您可以通过pear进行安装:

pear channel-update pear.php.net
pear upgrade-all
pear channel-discover pear.phpunit.de
pear channel-discover components.ez.no
pear install --alldeps phpunit/PHPUnit
Selenium是一种语言不可知的工具。您需要查找有关使用PHP安装selenium的教程/指南。最著名的实现是通过PHPUnit。这是有意义的,因为PHPUnit是一个测试框架,而Selenium只是另一种测试方法


下面是PHPUnit关于安装PHPUnit/selenium的指南:

我不知道。它不起作用了。没有任何使用指南。所以poor@shameless_jo你怎么知道它不起作用了。错误消息或特定问题的描述将是一个开始。@mike我在问题中添加了错误消息。错误消息引用了PHPUnit的一个文件。你安装了phpunit吗?@不知羞耻有一个安装指南,至少在某种程度上是这样的:我不知道。它不起作用了。没有任何使用指南。所以poor@shameless_jo你怎么知道它不起作用了。错误消息或特定问题的描述将是一个开始。@mike我在问题中添加了错误消息。错误消息引用了PHPUnit的一个文件。你安装了phpunit吗?@无耻有一个安装指南,至少在某种程度上是这样的:你是最好的:)你知道这份工作。你是一位大师。谢谢你无数次。你帮了我很大的忙。我爱你:)你是最棒的:)你知道这份工作。你是一位大师。谢谢你无数次。你帮了我很大的忙。我爱你:)