I have set up Hudson CI Server and running PHPUnit test with Selenium (big thanks to this post!). Now I am running Hudson server and Selenium server on my localhost. I set up Hudson as port 8080 (default) and Selenium -port 1234 as it conflicts otherwise.
Ancak, selenyum test çalıştırmak her zaman, ben şu hatayı alıyorum:
PHPUnit_Framework_Exception: Selenyum RC sunucusuna bağlanmak olamazdı.
/Users/*/.hudson/jobs/Selenium/workspace/sampleTest.php:28 /usr/lib/php/phing.php:37
where line 28 is an assertion: $this->assertElementContainsText($html, "this is sample test");
ve burada benim Selenyum kurulum fonksiyonu:
function setUp() {
$this->setBrowser("*firefox");
$this->setHost("localhost");
$this->setPort(1234);
$this->setBrowserUrl("example.com");
$this->setTimeout(100000); }
how can I avoid this error message? your suggestions are greatly appreciated.
teşekkürler hepsi,