Here's a snippet of the test code:
Code: Select all
$this->assertField("Foo+Bar+%28Baz%29");
$this->assertField("Foo+Bar+%28Baz%29",-1);
$this->assertTrue($this->setField("Foo+Bar+%28Baz%29",0));Code: Select all
</td></tr><tr><td>Foo Bar (Baz)</td><td>
<div class="form">
<div class="formElement">
<select name="Foo+Bar+%28Baz%29">
<option value="-1" selected="selected">Create New Person Record</option>
<option value="0">Foo Bar (Baz)</option>
</select>
</div>
</div>[Edit: Word from Marcus, it should work, its being treated as a bug, but setting Field to the contents of the field works now, its supposed to also work on the value, but it isn't.)