Forms Test | Http Method POST |
Some controls mixed with some hidden session strings
Build 651 ok
Build 652 error:
WebPageForm used instead of WebPageSubmit
Action string contains a query, http method is post
The sessioninformation of this form (formname: form2) is partly stored in hidden fields and partly as an URL query string.
<form action='data2html.asp?CFID=17192&CFTOKEN=16297276'
method=post name='form2'>
<input type="hidden" name="session"
value=FORMSTEST_17192_16297276>
<input type="hidden" name="uuid" value=DC8E7D45-6D14-11D3-B32600104B27CA93>
<input name="editBox" value="UNSPECIFIED_PASSIVE_OPEN" >
<input type="checkbox" name="abort" value="stop
it" checked>
<input type="checkbox" name="destroy" value="destroy
it">
<input type="reset" value=Reset>
<input type="submit" name="Send"
value="Confirm">
</form>
Result:
Build 651 ok
Build 652 error:
WebPageForm recoreded instead of WebPagesubmit
Default values of controls
Controls like Checkboxes or Radiogroups may have been assigned a value using their value attribute. Now test for default value when those controls where not assigned a value using the value attribute.
Eg. test:
<input type=checkbox name=chb1 value="commerce"> value is
'commerce' when checked
<input type=checkbox
value="milk">
no name attribute defined
<input type=checkbox>
value is 'on' when checked
Build 651 ok
Build 652 error as above
Different controls with the same name
Eg:
<input type=checkbox name="perro"
value="Setter">
<input tpye=radio name="perro" value="Struppi">
<input type=radio name="perro" value= "Bello">