User Interface Test Coverage
AssigneeDevFactory FZ-LLC
InventorKonstantinos Giannelos
Life of this patent
Estimating the term…
Abstract
A user interface (“UI”) code coverage system and process determines the coverage by test code of UI Components in a computer program. In other words, the UI code coverage system and process determine whether the test code tests a UI Component. In at least one embodiment, the UI code coverage system and process identify the particular UI Components tested by the test code, provide coverage (i.e. tested) statistics, provide a visualization of the UI Component tested, provide a visualization of tested and not-tested (also referred to respectively as “covered” and “not covered”) UI Components of a UI Screen.
Claims2
A method comprising:
- performing by a computer system programmed with code stored in a memory and executing by a processor of the computer system which transforms the computer system into a machine to determine the coverage by test code of user interface (UI) components in a computer program:
- (a) locating a UI object in one of the UI components by following a mapped objects hierarchical path in a UI map from a root UI object down to the UI object being located;
- (b) linking the UI object located with an image showing how the UI object in the UI component looks like when the UI of the computer program is actually visually displayed;
- (c) storing the link, an identifier (ID) of the UI object located, and screen location coordinate information of the UI object located in a UI component name mapping database;
- (d) repeating (a)-(c) for the UI objects in the UI map;
- (e) extracting from the test code, ID's of the UI components that are being accessed by the test code;
- (f) determining the coverage by the test code of the UI components by comparing a number of UI components in the computer program relative to a number of UI components extracted from the test code;
- and
- (g) generating a report of the coverage by the test code.
2-16. (canceled)
Dependencies are inferred from the claim text.