Method and apparatus for performing automated user-interface layout testing
First Claim
1. A computer-implemented method for performing automated user-interface layout testing, the method comprising:
- executing a pre-defined set of operations for a program;
storing a first representation of a user interface for the program subsequent to executing the operations;
automatically tagging the first representation with a unique tag, wherein the tag identifies an environment, workflow, and time frame in which the first representation is obtained, which allows identification of multiple images of the same workflow for comparison;
automatically selecting, based on the unique tag, one or more previously stored valid representations tagged with the same workflow for comparison with the first representation; and
comparing the first representation against each of the one or more validated representations to determine a difference between the representations, thereby facilitating detecting changes that affect the user interface, wherein said comparing involves;
receiving a specification that describes an acceptable level of change between the first representation and a validated representation;
anddetermining whether the difference between the first representation and any of the one or more validated representations exceeds the acceptable level of change.
1 Assignment
0 Petitions
Accused Products
Abstract
The disclosed embodiments provide a system that performs automated user-interface layout testing. During operation, the system executes a pre-defined set of operations for a program. After these operations have executed, the system then stores a representation (e.g., a snapshot) of the program user interface. The system then compares this representation against a validated representation that was previously stored for the pre-defined set of operations to determine a difference between the representations. This process facilitates detecting changes to the program (and/or the environment in which the program executes) that affect the user interface that is presented to a user.
69 Citations
16 Claims
-
1. A computer-implemented method for performing automated user-interface layout testing, the method comprising:
-
executing a pre-defined set of operations for a program; storing a first representation of a user interface for the program subsequent to executing the operations; automatically tagging the first representation with a unique tag, wherein the tag identifies an environment, workflow, and time frame in which the first representation is obtained, which allows identification of multiple images of the same workflow for comparison; automatically selecting, based on the unique tag, one or more previously stored valid representations tagged with the same workflow for comparison with the first representation; and comparing the first representation against each of the one or more validated representations to determine a difference between the representations, thereby facilitating detecting changes that affect the user interface, wherein said comparing involves; receiving a specification that describes an acceptable level of change between the first representation and a validated representation; and determining whether the difference between the first representation and any of the one or more validated representations exceeds the acceptable level of change. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A non-transitory computer-readable storage medium storing instructions that when executed by a computer cause the computer to perform a method for performing automated user-interface layout testing, the method comprising:
-
executing a pre-defined set of operations for a program; storing a first representation of a user interface for the program subsequent to executing the operations; automatically tagging the first representation with a unique tag, wherein the tag identifies an environment, workflow, and time frame in which the first representation is obtained, which allows identification of multiple images of the same workflow for comparison; automatically selecting, based on the unique tag, one or more previously stored valid representations tagged with the same workflow for comparison with the first representation; and comparing the first representation against each of the one or more validated representations to determine a difference between the representations, thereby facilitating detecting changes that affect the user interface, wherein said comparing involves; receiving a specification that describes an acceptable level of change between the first representation and a validated representation; and determining whether the difference between the first representation and any of the one or more validated representations exceeds the acceptable level of change. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. An apparatus configured for performing automated user-interface layout testing, comprising:
-
a processor; a memory; an execution mechanism configured to execute a pre-defined set of operations for a program; a storage mechanism configured to store a first representation of a user interface for the program subsequent to executing the operations; an association mechanism configured to automatically tag the first representation with a unique tag, wherein the tag identifies the first representation with a unique tag, wherein the tag identifies an environment, workflow, and time frame in which the first representation is obtained, which allows identification of multiple images of the same workflow for comparison; a selection mechanism configured to automatically select, based on the unique tag, one or more previously stored valid representations tagged with the same workflow for comparison with the first representation; and a comparison mechanism configured to compare the first representation against each of the one or more validated representations to determine a difference between the representations, thereby facilitating detecting changes that affect the user interface, wherein said comparing involves; receiving a specification that describes an acceptable level of change between the first representation and a validated representation; and determining whether the difference between the first representation and any of the one or more validated representations exceeds the acceptable level of change. - View Dependent Claims (16)
-
Specification