Ticket #337 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 years ago

WebTest select fields should support forced values

Reported by: desmaj Owned by: ianb
Priority: normal Milestone: 1.3
Component: paste Version: svn-trunk
Severity: normal Keywords: webtest select
Cc:

Description

WebTest? currently only allows for values present in a select field's option list to be marked as selected. This is helpful in avoiding test script errors, but restrictive since it doesn't allow the crafting of arbitrary form submission requests.

I have attached a patch (with test modifications) that implements the force_value method on the Select and MultipleSelect? fields.

Attachments

force_select_value.patch Download (4.8 KB) - added by desmaj 3 years ago.

Change History

Changed 3 years ago by desmaj

Changed 3 years ago by ianb

  • status changed from new to closed
  • resolution set to fixed

Applied in r7797

Note: See TracTickets for help on using tickets.