SCREENSHOT VALIDATION TESTING
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments of the present invention disclose a method, computer program product, and system for comparing screenshots of an application interface. In one embodiment, the method includes receiving test scenario parameters, wherein the parameters include a first screenshot of an application interface, one or more page objects associated with the first screenshot, generating a second screenshot of an updated application interface, identifying one or more page objects within the second screenshot based on a scope of each of the page objects associated with the first screenshot, comparing a section of the second screenshot to a section of the first screenshot that includes one or more page objects associated with the first screenshot that correspond to one or more page objects included in the section of the second screenshot, and determining whether the section of the second screenshot matches, within a predetermined tolerance level, the section of the first screenshot.
75 Citations
20 Claims
-
1-7. -7. (canceled)
-
8. A computer program product for comparing screenshots of an application interface, the computer program product comprising:
-
one or more computer readable storage media and program instructions stored on the one or more computer readable storage media, the program instructions comprising; program instructions to receive parameters of a test scenario, wherein the parameters include a first screenshot of an application interface, and one or more page objects associated with the first screenshot; program instructions to generate a second screenshot of an updated version of the application interface; program instructions to identify one or more page objects within the second screenshot based on a scope of each of the one or more page objects associated with the first screenshot in the parameters of the test scenario; program instructions to compare a section of the second screenshot that includes the identified one or more page objects of the second screenshot to a section of the first screenshot that includes one or more page objects associated with the first screenshot that correspond to the one or more page objects included in the section of the second screenshot; and program instructions to determine whether the section of the second screenshot matches, within a predetermined tolerance level, the section of the first screenshot. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A computer system for comparing screenshots of an application interface, the computer system comprising:
-
one or more computer processors; one or more computer readable storage media; program instructions stored on the computer readable storage media for execution by at least one of the one or more processors, the program instructions comprising; program instructions to receive parameters of a test scenario, wherein the parameters include a first screenshot of an application interface, and one or more page objects associated with the first screenshot; program instructions to generate a second screenshot of an updated version of the application interface; program instructions to identify one or more page objects within the second screenshot based on a scope of each of the one or more page objects associated with the first screenshot in the parameters of the test scenario; program instructions to compare a section of the second screenshot that includes the identified one or more page objects of the second screenshot to a section of the first screenshot that includes one or more page objects associated with the first screenshot that correspond to the one or more page objects included in the section of the second screenshot; and program instructions to determine whether the section of the second screenshot matches, within a predetermined tolerance level, the section of the first screenshot. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification