Directed graph for application under test

US2022012166A1 · US · A1

Patent metadata
FieldValue
Publication numberUS-2022012166-A1
Application numberUS-202016923394-A
CountryUS
Kind codeA1
Filing dateJul 8, 2020
Priority dateJul 8, 2020
Publication dateJan 13, 2022
Grant date

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A directed graph for an application under test (AUT) hosted at a hosting computing device is generated based on test flows. Each test flow traverses GUI objects of the AUT via GUI events. Each GUI event is associated with a transition from a first GUI object of the AUT to a second GUI object of the AUT. The GUI event represents interaction with the GUI of the AUT at a client computing device and that resulted in the transition. The directed graph includes nodes that each correspond to a GUI object of the AUT and edges that each correspond to a GUI event.

First claim

Opening claim text (preview).

We claim: 1 . A non-transitory computer-readable data storage medium storing program code executable by a computing device to perform processing comprising: generating, for display, a directed graph for an application under test (AUT) hosted at a host computing device, based on a plurality of test flows, by monitoring interaction with a graphical user interface (GUI) of the AUT at a client computing device and monitoring communication from the client computing device to the host computing device resulting from the interaction, wherein each test flow traverses a plurality of GUI objects of the AUT via a plurality of GUI events, each GUI event associated with a transition from a first GUI object of the AUT to a second GUI object of the AUT, the GUI event representing the interaction with the GUI of the AUT resulting in the transition, wherein the directed graph comprises a plurality of nodes, each node corresponding to a GUI object of the AUT and each edge corresponding a GUI event of the AUT; and performing testing of the AUT using the directed graph that has been generated. 2 . The non-transitory computer-readable data storage medium of claim 1 , wherein the directed graph for the AUT is generated based on the test flows without direct analysis of any source code of the AUT. 3 . The non-transitory computer-readable data storage medium of claim 1 , wherein generating the directed graph for the AUT, based on the test flows, comprises: in response to monitoring the communication from the client computing device to the host computing device, detecting a new GUI object of the AUT being accessed at the client computing device, and as a result of the communication, the client computing device accessing a current GUI object of the AUT when the communication is detected; determining whether the directed graph has a node corresponding to the new GUI object; and in response to determining that the directed graph does not have a node corresponding to the new GUI object, adding a new node to the directed graph corresponding to the new GUI object and adding a new edge to the directed graph from a node corresponding to the current GUI object to the new node, wherein the new edge corresponds to a GUI event associated with transition of the AUT from the current GUI object to the new GUI object. 4 . The non-transitory computer-readable data storage medium of claim 3 , wherein generating the directed graph for the AUT, based on the test flows, further comprises: in response to determining that the directed graph has a node representing the new GUI object, determining whether the directed graph has an edge from the node corresponding to the current GUI object to the node representing the new GUI object; and in response to determining that the directed graph does not have an edge from the node corresponding to the current GUI object to the node representing the new GUI object, adding the new edge to the directed graph from the node corresponding to the current GUI object to the node representing the new GUI object. 5 . The non-transitory computer-readable data storage medium of claim 1 , wherein the processing further comprises: directly analyzing source code for the AUT to detect any GUI objects and any GUI events that have not been traversed by the test flows by analyzing an event service routine of the source code; and adding new nodes for any GUI objects that have not been traversed by the test flows and new edges for any GUI events that have not been traversed by the test flows, to the directed graph. 6 . The non-transitory computer-readable data storage medium of claim 1 , wherein the processing further comprises: analyzing the communication from the client computing device to the host computing device and/or communication from the host computing device to the client computing device to detect any GUI objects and any GUI events that have not been traversed by the test flows; and adding new nodes for any GUI objects that have not been traversed by the test flows and new edges for any GUI events that have not been traversed by the test flows, to the directed graph. 7 . The non-transitory computer-readable data storage medium of claim 1 , wherein the processing further comprises: detecting a GUI event that has not been traversed by the test flows; and suggesting a user select the GUI event that has not been traversed by the test flows. 8 . The non-transitory computer-readable data storage medium of claim 1 , wherein the GUI event encompassing values of parameters passed within the communication from the client computing device to the host computing device that occurred responsive to the interaction resulting in the transition, and wherein generating the directed graph for the AUT, based on the test flows, comprises: performing machine learning to identify specifications of the parameters of which the values are passed to the AUT in transitioning from the first GUI object to the second GUI object. 9 . The non-transitory computer-readable data storage medium of claim 1 , wherein performing the testing using the directed graph that has been generated comprises: GUI event-level debugging the AUT using the directed graph that has been generated, in a step-by step manner and/or using one or more breakpoints added to the directed graph. 10 . The non-transitory computer-readable data storage medium of claim 9 , wherein GUI event-level debugging the AUT using the directed graph that has been generated, in the step-by-step manner, comprises: receiving identification of a selected edge connecting a first node to a second node of the directed graph; and responsively displaying values of parameters encompassed by the GUI event corresponding to the selected edge. 11 . The non-transitory computer-readable data storage medium of claim 9 , wherein GUI event-level debugging the AUT using the directed graph that has been generated, using the one or more breakpoints added to the directed graph, comprises: receiving identification of a selected edge at which a breakpoint has been added, the selected edge connecting a first node to a second node of the directed graph; causing the AUT to reach a GUI object corresponding to the first node; and displaying values of parameters that are to be passed to the AUT to transition from the GUI object corresponding to the first node to a GUI object corresponding to the second node, as encompassed by the GUI event corresponding to the selected edge. 12 . The non-transitory computer-readable data storage medium of claim 1 , wherein performing the testing using the directed graph that has been generated comprises: GUI event-level fault-injection testing the AUT using the directed graph that has been generated. 13 . The non-transitory computer-readable data storage medium of claim 12 , wherein GUI event-level fault-injecting testing the AUT using the directed graph that has been generated comprises: receiving identification of a selected edge connecting a first node to a second node of the directed graph; modifying values of parameters encompassed by the GUI event corresponding to the selected edge; causing the AUT to reach the GUI object corresponding to the first node; and passing the modified values of the parameters encompassed by the GUI event corresponding to the selected edge, to the AUT. 14 . The non-transitory computer-readable data storage medium of claim 1 , wherein performing the testing using the directed graph that has been generated comprises: analyzing the test flows against the directed graph to assess coverage of the directed graph by the test flows.

Assignees

Inventors

Classifications

  • Environments for analysis, debugging or testing of software · CPC title

  • by tracing the execution of the program · CPC title

  • for test execution, e.g. scheduling of test suites · CPC title

  • for coverage analysis · CPC title

  • monitoring of user actions (tracking the activity of the user H04L67/535) · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US2022012166A1 cover?
A directed graph for an application under test (AUT) hosted at a hosting computing device is generated based on test flows. Each test flow traverses GUI objects of the AUT via GUI events. Each GUI event is associated with a transition from a first GUI object of the AUT to a second GUI object of the AUT. The GUI event represents interaction with the GUI of the AUT at a client computing device an…
Who is the assignee on this patent?
Micro Focus Llc
What technology area does this patent fall under?
Primary CPC classification G06F11/3698. Mapped technology areas include Physics.
When was this patent published?
Publication date Thu Jan 13 2022 00:00:00 GMT+0000 (Coordinated Universal Time) (A1). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).