I am using the PHPUnit Selenium Extension for Selenium RC.
I am able to assert the field is present:
$this->assertElementPresent('Date');
But how do I assert that the field is disabled (or not editable)?
I am using the PHPUnit Selenium Extension for Selenium RC.
I am able to assert the field is present:
$this->assertElementPresent('Date');
But how do I assert that the field is disabled (or not editable)?
isEditable()
will return true/false
$this->assertEquals(false, $this->isEditable('Date'));
...or better yet:
$this->assertNotEditable('Date');