Patent ID: 8006231

Claim:
A method to automate testing of a graphical user interface, comprising the steps of: supplying a code base disposed on a first computing device and encoding a plurality of color-coded, interactable graphical objects, wherein a graphical user interface (“GUI”) is generated when said code base is executed, and wherein said GUI comprises said plurality of interactable graphical objects; executing said code base to generate said GUI; displaying said GUI on a visual display device; creating a mapping file associating each interactable graphical object with a color and with a GUI page, wherein each interactable graphical object recited in said mapping file does not comprise a test object; scanning said code base to generate a complete list comprising the attributes of each interactable graphical object encoded therein; forming a first partial list by removing from said complete list all objects that do not have a color set in the code base; forming a second partial list by removing from the first partial list all interactable graphical objects that have a color set in the Code Base but where that color does not match any colors recited in the Mapping File; defining test objects to comprise all interactable graphical objects from second partial list comprising a color that matches a color recited in the Mapping File for the GUI page in which the interactable graphical object is displayed, and comprising a unique color inside that GUI page; selecting one of said color-coded interactable graphical objects as a test object; activating said test object; ascertaining if an expected result was observed after activating said test object; operative if an expected result was not observed after activating said test object, generating and saving an error message.