Iterative Screenshot Capture for Overlapping Browser Windows

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional screenshot capturing methods for failed application testing in database systems often result in obscured information due to overlapping windows, making it difficult to diagnose test failures effectively.

Innovation Solution

A method is developed to capture screenshots of each web browser window individually, excluding unrelated elements, by running tests in a single operating system process and using iterative processes to request and take screenshots after a test failure, ensuring complete and unobscured graphical content.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Area of stationary object

If full-screen screenshots are taken to capture all windows, then complete coverage of all web browser windows is achieved, but overlapping windows obscure important screenshot information

Engineering Contradiction:
Improvescreenshot coverage areaVSAvoidscreenshot information clarity
Core Design Contradiction:
Area of stationary objectVSLoss of information

Solution Approach 1:

The patent divides the screenshot capture process into individual window captures. Instead of capturing the entire screen at once, the system identifies and captures each web browser window separately, then composites them into a single screenshot. This segmentation prevents overlapping windows from obscuring information while maintaining complete coverage of all relevant windows.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent transitions from a two-dimensional screen capture to a three-dimensional composite by capturing each window in its own spatial context and then arranging them in a structured layout. This dimensional transformation allows all windows to be visible without overlap by presenting them in an organized grid or sequence that preserves information from each window.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

2Loss of information

If all elements are captured in the screenshot, then complete debugging information is obtained, but unrelated elements clutter the screenshot and make debugging difficult

Engineering Contradiction:
Improvedebugging information completenessVSAvoidscreenshot content complexity
Core Design Contradiction:
Loss of informationVSDevice complexity

Solution Approach 1:

The patent extracts only the relevant web browser windows from the complete screen capture. By identifying windows associated with the test execution and excluding unrelated elements such as taskbars, start menus, and other application windows, the system produces a focused screenshot that contains complete debugging information without unnecessary clutter.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent applies different capture qualities to different regions of the screen. Relevant web browser windows are captured with high detail and clarity, while unrelated elements are either excluded or captured with reduced prominence. This selective quality approach ensures debugging information is prioritized without completely eliminating context.

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS8762881B2Taking screenshots of a failed application
Publication Date: 2014.06.24 SALESFORCE INC
  • US8762881B2 patent drawing
  • US8762881B2 patent drawing
  • US8762881B2 patent drawing

AI summary

An approach for taking screenshots of a failed application is disclosed. The method includes running a test of a module, where the test is run in a single operating system process that uses a plurality of web browser windows on a display screen. The method further includes receiving a signal to indicate a screenshot that is requested after the test fails in order to determine a cause of the test failure and capturing screenshots for each of the plurality of web browser windows, where the captured screenshots exclude elements that are unrelated to the test. The capturing screenshots includes using an iterative process capturing each of the plurality of screenshots one at a time.