14. A method of testing an electronic document page, the method comprising: creating an intermediate representation of an electronic document page, the page being defined by a page description implemented in a markup language, the page description referring to data accessible via a data model, the intermediate representation including at least a portion of the data accessible via the data model, the intermediate representation being renderable to create a rendered page, the rendered page being displayable on a display device; initiating an action in the intermediate representation, the action simulating user input that can be provided via a rendered representation of the page, the action capable of causing a change in the portion of the data accessible via the data model; determining an expected value for the portion of the data model based on the initiated action in the intermediate representation; identifying an actual value for the portion of the data model; determining whether the actual value matches the expected value; and when the actual value does not match the expected value, storing an indication of an error.
18. The method recited in claim 14 , wherein the one or more operations for creating the page include at least one operation for defining at least a portion of the data model.