Hi,
I'm running the following test in selenium-rc:
<?php
require_once 'PHPUnit/Extensions/SeleniumTestCase.php';
class Example extends PHPUnit_Extensions_SeleniumTestCase
{
protected function setUp()
{
$this->setBrowser("*firefox /usr/bin/firefox");
$this->setBrowserUrl("http://www.google.com");
}
public function testMyTestCase()
{
$this->open("http://www.google.com");
$this->type("q", "test");
}
}
?>
And the log is this:
Appending missed logging messages
Executing: |getTitle | | |
Executing: |setContext | ec1e83fb41564d6bb0fe1b85c2a34411 | |
Executing: |setTimeout | 30000 | |
Executing: |open | http://www.google.com | |
onXhrStateChange(): xhr.readyState = 1 method = HEAD time = 1287564690295
onXhrStateChange(): xhr.readyState = 1 method = HEAD time = 1287564690295
onXhrStateChange(): xhr.readyState = 2 method = HEAD time = 1287564690923
onXhrStateChange(): xhr.readyState = 3 method = HEAD time = 1287564690923
onXhrStateChange(): xhr.readyState = 3 method = HEAD time = 1287564690927
onXhrStateChange(): xhr.readyState = 3 method = HEAD time = 1287564690930
onXhrStateChange(): xhr.readyState = 3 method = HEAD time = 1287564690934
onXhrStateChange(): xhr.readyState = 3 method = HEAD time = 1287564690936
onXhrStateChange(): xhr.readyState = 4 method = HEAD time = 1287564690936
Executing: |type | q | test |
* error(1287564696975): saw blank string xmlHttpForCommandsAndResults.responseText
* info(1287564703684): Done appending missed logging messages
* error(1287564703684): Log window displayed. Logging events will now be recorded to this window.
I don't understand why there are errors:
error(1287564696975): saw blank string xmlHttpForCommandsAndResults.responseText
info(1287564703684): Done appending missed logging messages
error(1287564703684): Log window displayed. Logging events will now be recorded to this window