|
From: Marcus B. <ma...@wo...> - 2009-09-25 14:42:28
|
Hi...
Davie De Smet wrote:
> I am using the WebTester of Simpletest and I am breaking my head on this one. I have executed the get method on a webpage with a checkbox and I want to verify is the checkbox is checked=checked or not but I am not able to get it out of the webtester.
> Can someone tell me with what function I can verify this?
I often cannot remember my own code, but I think...
$this->assertField('Check this!', true);
...should work. If the checkbox has a value, then you can assert
against the value I believe.
> Thanks a lot!
>
> Davie De smet
yours, Marcus
|