0
중순 테스트를 중지 :셀레늄 webdriver 테스트는 I이이 테스트를 받았습니다 오류 메시지
<?php
$I = new WebGuy($scenario);
$I->wantTo('ensure that user can log in to Nova.');
$I->amOnPage('/');
$I->see('ABC');
// Login
$I->fillField("//input[@name='email']", "[email protected]"); //<-- Test stops here!
$I->wait(1000);
$I->fillField("//input[@name='password']", "Apassword");
$I->click("//input[@name='save']");
$I->see("Test");
?>
테스트 전자 메일 필드에 채우기에 실행, 후 정지합니다. 전자 메일 필드로 암호 필드를 전환하면 해당 필드에 암호 만 입력되고 테스트가 중지됩니다. 코드는 나에게 잘 보입니다. 누구 한테 아이디어있어?
는'대기를 제거하면 그냥 테스트 용으로, 그것은 (작동합니까 <)'답변을 언급 할 수 있을까? 채우기 필드 사이에 '에코'를 넣으면 어떻게됩니까? –
대기 시간없이 동일한 동작. 필드 사이의 에코는 아무 것도하지 않습니다. –