1
작동하지 clickAndWait 내가이 명령을 넣어하지 않는기능 테스트 내가 여기 phpunit을의 selenum 테스트와 YII에서 웹 응용 프로그램을 쓰고 있어요
public function testHasLoginForm()
{
$this->open('site/login');
$this->assertTextPresent('Login');
$this->assertElementPresent('name=LoginForm[username]');
$this->assertElementPresent('name=LoginForm[password]');
$this->assertTextPresent('Remember me next time');
$this->assertTextPresent('Reset Password?');
$this->assertElementPresent('name=Login');
$this->type('name=LoginForm[username]','[email protected]');
$this->type('name=LoginForm[password]','password');
$this->clickAndWait("//input[@value='Login']"); //this line cause the error
}
모든 작업 찾을 로그인 양식에 대한 내 테스트 케이스입니다 $ this-> clickAndWait ("// input [@ value = '로그인']");
이 줄 날이 같은 에러 제공 :
Invalid response while accessing the Selenium Server at "http://localhost:4444/s
elenium-server/driver/:" ERROR: Command execution failure. Please search the use
r group at https://groups.google.com/forum/#!forum/selenium-users for error deta
ils from the log window. The error message is: Value does not implement interfa
ce Event.
사람이 생각을 갖고 있는가 왜 이런 일이?
를 사용할 수 있습니다 $ this-> clickAndWait ('// 입력 [이름 = "LoginForm [사용자 이름]"]'); – Sergey