Test framework of visual components in a multitenant database environment
First Claim
1. A method of testing an electronic document page, the method comprising:
- causing a change to data accessible via a data model, the data model being usable to create an electronic document page, the page being defined by a page description implemented in a markup language, the page description referring to the data accessible via the data model;
creating an intermediate representation of the page based on the page description and the data model, the intermediate representation including at least a portion of the data accessible via the data model that includes the changed data, the intermediate representation being renderable to create a rendered page, the rendered page being displayable on a display device;
determining an expected value for a portion of the intermediate representation based on the change to the data accessible via the data model;
identifying an actual value for the portion of the intermediate representation;
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.
1 Assignment
0 Petitions
Accused Products
Abstract
Disclosed herein are techniques for testing a page. In some implementations, an intermediate representation of a page is created. The page may be defined by a page description implemented in a markup language. The page description may refer to data accessible via a data model. The intermediate representation may include at least a portion of the data accessible via the data model. The intermediate representation may be capable of being rendered to create a rendered page. The rendered page may be capable of being displayed on a display device. A determination may be made as to whether a test value for a portion of the intermediate representation matches an expected value for the portion of the intermediate representation. When the test value does not match the expected value, an indication of an error may be stored.
206 Citations
26 Claims
-
1. A method of testing an electronic document page, the method comprising:
-
causing a change to data accessible via a data model, the data model being usable to create an electronic document page, the page being defined by a page description implemented in a markup language, the page description referring to the data accessible via the data model; creating an intermediate representation of the page based on the page description and the data model, the intermediate representation including at least a portion of the data accessible via the data model that includes the changed data, the intermediate representation being renderable to create a rendered page, the rendered page being displayable on a display device; determining an expected value for a portion of the intermediate representation based on the change to the data accessible via the data model; identifying an actual value for the portion of the intermediate representation; 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. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computing system comprising:
one or more computing devices configured to; cause a change to data accessible via a data model, the data model being usable to create an electronic document page, the page being defined by a page description implemented in a markup language, the page description referring to the data accessible via the data model; create an intermediate representation of the page based on the page description and the data model, the intermediate representation including at least a portion of the data accessible via the data model that includes the changed data, the intermediate representation being renderable to create a rendered page, the rendered page being displayable on a display device; determine an expected value for a portion of the intermediate representation based on the change to the data accessible via the data model; identify an actual value for the portion of the intermediate representation; determine whether the actual value matches the expected value; and when the actual value does not match the expected value, store an indication of an error. - View Dependent Claims (9, 10, 11, 12, 13)
-
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. - View Dependent Claims (15, 16, 17, 18, 19, 20)
-
-
21. A computing system comprising:
one or more computing devices configured to; create 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; initiate 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; determine an expected value for the portion of the data model based on the initiated action in the intermediate representation; identify an actual value for the portion of the data model; determine whether the actual value matches the expected value; and when the actual value does not match the expected value, store an indication of an error. - View Dependent Claims (22, 23, 24, 25, 26)
Specification