Screenshot validation testing
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.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 24 · Forward citations: 5.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
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 set initial conditions that include a specified Web browser, a specific webpage, execution of program code, and input information; program instructions to identify a document object model based on the set initial conditions; program instructions to define a scope based on the identified
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (5 of 5 total)
References Cited — Backward Prior Art (24)
Non-Patent Literature (5)
- "Test Design Considerations", SeleniumHQ Browser Automation, <http://www.seleniumhq.org/docs/06-test-design-considerations.jsp>, copyright 2008-2012, last updated on Mar. 4, 2014.
- “Test Design Considerations”, SeleniumHQ Browser Automation, <http://www.seleniumhq.org/docs/06—test—design—considerations.jsp>, copyright 2008-2012, last updated on Mar. 4, 2014.
- Cox, James, "Using Page Objects with Selenium and Web Driver 2.0", Oct. 10, 2011, Summa, <http://www.summa-tech.com/blog/2011/10/10/using-page-objects-with-selenium-and-web-driver-20/>.
- Hey, et al., "Screenshot Validation Testing", U.S. Appl. No. 14/607,168, filed Jan. 28, 2015.
- List of IBM Patents of Patent Applications Treated as Related, Jan. 27, 2015.