|
From: Squishy S. <sp...@ro...> - 2010-09-13 01:22:26
|
Hello,
I am having issues using SimpleTest to set drop down values using setField.
I have no problems setting text boxes using setField.
I have tried with both the 1.01 release and with the 1.1beta release with no
luck.
Here is an example that I have tried but does not work:
<html>
<head></head>
<body>
<select name = "dpName">
<option value = "0">option0
<option value = "1">option1
</select>
</body>
</html>
function test()
{
$this->assertTrue($this->setField('dpName', 'option0'));
}
When running test(), I get a failure.
Does anyone know if this is a known issue? I have also tried using '0' as the
value for setField instead of 'option0' but to no avail.
Thanks for your help,
Jeff
|