发明名称 SCREENSHOT VALIDATION TESTING
摘要 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.
申请公布号 US2015347276(A1) 申请公布日期 2015.12.03
申请号 US201514607168 申请日期 2015.01.28
申请人 International Business Machines Corporation 发明人 Hey Laurence A.;Izard William J.;Ponsford Matthew J.
分类号 G06F11/36;G06F17/30;H04L29/08 主分类号 G06F11/36
代理机构 代理人
主权项 1. A method for comparing screenshots of an application interface, the method comprising: receiving, by one or more processors, 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; generating, by one or more processors, a second screenshot of an updated version of the application interface; identifying, by one or more processors, 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; comparing, by one or more processors, 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 determining, by one or more processors, whether the section of the second screenshot matches, within a predetermined tolerance level, the section of the first screenshot.
地址 Armonk NY US