I was wondering if anyone uses a design pattern where there is an object (similar to a page object) which has fields for each input in an HTML form.
I guess the fields would be nullable and then the page object would have a method FillOutForm() which takes in the form mapping object. It would fill out the form based on the object, and ignore any fields that are null.
Does that make any sense? Anyone else use a similar design pattern?