Graphical user interface testing systems and methods
First Claim
1. A method comprising:
- providing, by graphical user interface code executing on a computing device, a graphical user interface including one or more graphical elements;
exposing, by the graphical user interface code executing on the computing device, data representative of one or more graphical element type identifiers indicating one or more types of the one or more graphical elements for access and use by a testing subsystem to test the graphical user interface, wherein the exposing comprises;
generating a log of events associated with the graphical user interface, the log of events including the data representative of the one or more graphical element type identifiers indicating the one or more types of the one or more graphical elements, andproviding data representative of the log of events for access by the testing subsystem;
detecting, by the graphical user interface code executing on the computing device, one or more interactions with the graphical user interface, wherein the log of events specifies the detected one or more interactions with the graphical user interface;
accessing, by the testing subsystem, data representative of the log of events;
determining, by the testing subsystem from the log of events, the detected one or more interactions with the graphical user interface; and
providing, by the testing subsystem to either the graphical user interface code executing on the computing device or a copy of the graphical user interface code executing on another computing device, one or more messages configured to cause the graphical user interface code to play back the detected one or more interactions with the graphical user interface.
1 Assignment
0 Petitions
Accused Products
Abstract
An exemplary method includes graphical user interface code executing on a computing device providing a graphical user interface including one or more graphical elements and exposing data associated with the graphical user interface for access and use by a testing subsystem to test the graphical user interface. In certain examples, the exposed data is representative of one or more graphical element type identifiers indicating one or more types of the one or more graphical elements included in the graphical user interface. In certain examples, the exposed data is included in a log of events associated with the graphical user interface. In certain examples, the exposed data is exposed in response to a query from the testing subsystem. Corresponding systems and methods are also disclosed.
26 Citations
18 Claims
-
1. A method comprising:
-
providing, by graphical user interface code executing on a computing device, a graphical user interface including one or more graphical elements; exposing, by the graphical user interface code executing on the computing device, data representative of one or more graphical element type identifiers indicating one or more types of the one or more graphical elements for access and use by a testing subsystem to test the graphical user interface, wherein the exposing comprises; generating a log of events associated with the graphical user interface, the log of events including the data representative of the one or more graphical element type identifiers indicating the one or more types of the one or more graphical elements, and providing data representative of the log of events for access by the testing subsystem; detecting, by the graphical user interface code executing on the computing device, one or more interactions with the graphical user interface, wherein the log of events specifies the detected one or more interactions with the graphical user interface; accessing, by the testing subsystem, data representative of the log of events; determining, by the testing subsystem from the log of events, the detected one or more interactions with the graphical user interface; and providing, by the testing subsystem to either the graphical user interface code executing on the computing device or a copy of the graphical user interface code executing on another computing device, one or more messages configured to cause the graphical user interface code to play back the detected one or more interactions with the graphical user interface. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A method comprising:
-
providing, by graphical user interface code executing on a computing device, a graphical user interface including one or more actionable graphical elements; detecting, by the graphical user interface code executing on the computing device, each external interaction with the one or more actionable graphical elements included in the graphical user interface; performing, by the graphical user interface code executing on the computing device, one or more graphical user interface functions in response to each detected external interaction with the one or more actionable graphical elements included in the graphical user interface; performing, by the graphical user interface code executing on the computing device, one or more testing framework functions in response to each detected external interaction with the one or more actionable graphical elements included in the graphical user interface, the one or more testing framework functions providing a testing framework configured to be leveraged for testing the graphical user interface code, wherein the one or more testing framework functions comprise a log event function configured to record, in a log of events, one or more events associated with each detected external interaction with the one or more actionable graphical elements included in the graphical user interface, and wherein each entry in the log of events is associated with an event within the one or more events and comprises data representative of a time associated with the event, a unique identifier for the graphical element associated with the event, a type identifier indicative of a type of the graphical element associated with the event, and an identifier for the event; and accessing and using, by a testing subsystem configured to interface with the graphical user interface code executing on the computing device, the log of events to initiate a playback of each detected external interaction with the one or more actionable graphical elements included in the graphical user interface. - View Dependent Claims (14, 15, 16, 17)
-
-
18. A non-transitory computer-readable medium including graphical user interface code configured to instruct a processor to:
-
provide a graphical user interface including one or more graphical elements; expose data representative of one or more graphical element type identifiers indicating one or more types of the one or more graphical elements for access and use by a testing subsystem to test the graphical user interface, wherein the exposing comprises; generating a log of events associated with the graphical user interface, the log of events including the data representative of the one or more graphical element type identifiers indicating the one or more types of the one or more graphical elements, and providing data representative of the log of events for access by the testing subsystem; detect, by the graphical user interface code executing on the computing device, one or more interactions with the graphical user interface, wherein the log of events specifies the detected one or more interactions with the graphical user interface; access, by the testing subsystem, data representative of the log of events; determine, by the testing subsystem from the log of events, the detected one or more interactions with the graphical user interface; and provide, by the testing subsystem to either the graphical user interface code executing on the computing device or a copy of the graphical user interface code executing on another computing device, one or more messages configured to cause the graphical user interface code to play back the detected one or more interactions with the graphical user interface.
-
Specification