|
From: Marcus B. <ma...@la...> - 2004-04-12 23:54:17
|
Hi...
Culley Harrelson wrote:
> $this->clickSubmit('Submit Query');
Only Mozilla gives the button this label. Because the value is not
specified SimpleTest punts for 'Submit'. This...
$this->clickSubmit('Submit');
...passes.
There are two issues raised by this:
1) Should I throw a PHP error (exception) if the label is not present in
the form?
2) Should I have a default value that just submits the first type=submit
button it finds?
Culley, do you think I should add either of these behaviours?
yours, Marcus
--
Marcus Baker, ma...@la..., no...@ap...
|