IP Library Granted Patent US 7,100,150
Granted Patent B2
US 7,100,150 · App. 10/166,993 · Granted Aug 29, 2006

Method and apparatus for testing embedded examples in GUI documentation

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 7,100,150
App. No.
10/166,993
Granted
Aug 29, 2006
Kind
B2
Abstract

A method of testing an embedded example in a graphical user interface documentation includes creating an extractable embedded example by tagging the embedded example, extracting the extractable embedded example from the graphical user interface documentation to generate an extracted example, selecting a tagged entity from the extracted example, interpreting the tagged entity to generate an interpreted tagged entity, creating a test suite using the interpreted tagged entity, selecting a graphical tool against which to execute the test suite, executing the test suite against the graphical tool to generate an output response, and verifying the output response.

Claims (83)

1. A computer implemented method of testing an embedded example in a graphical user interface documentation, comprising:

creating a golden file using at least one tag chosen from a tag set;

creating an extractable embedded example by tagging the embedded example; extracting the extractable embedded example from the graphical user interface documentation to generate an extracted example;

selecting a tagged entity from the extracted example;

interpreting the tagged entity to generate an interpreted tagged entity;

creating a test suite using the interpreted tagged entity;

selecting a graphical tool against which to execute the test suite;

executing the test suite against the graphical tool to generate an output response;

and verifying the output response,

wherein the verifying of the output response comprise comparing the output response to the golden file,

wherein the golden file comprises at least one predetermined response selected from a group consisting of an image and a widget hierarchy based on the graphical user interface documentation.

2. The method of claim 1 , tagging the embedded example comprising delineating the embedded example using at least one tag chosen from a tag set.

3. The method of claim 1 , further comprising:

creating the tagged entity using at least one tag chosen from a tag set.

4. The method of claim 1 , wherein the golden file is created manually.

5. The method of claim 1 , further comprising:

locating a source of error if the output response varies from the golden file.

6. The method of claim 1 , further comprising:

correcting the extractable embedded example if the output response varies from the golden file.

7. The method of claim 1 , further comprising:

generating a comparison result after comparing the output response to the golden file.

8. The method of claim 7 , further comprising:

sending the comparison result to a display device.

9. The method of claim 7 , further comprising:

storing the comparison result onto a storage device.

10. The method of claim 1 , wherein the golden file is a proper output response of executing the test suite against the graphical tool.

11. The method of claim 1 , interpreting the tagged entity comprising using a set of rules comprising a context-free grammar.

12. The method of claim 1 , executing the test suite comprising:

setting a current context of the graphical tool;

selecting a widget from the test suite; and

generating a test statement directed to the widget if the widget is found in the current context.

13. The method of claim 12 , further comprising:

selecting an available context to become the current context; and generating a testing error statement if the widget is not found.

14. The method of claim 13 , wherein the available context is selected from a set of available contexts.

15. The method of claim 14 , further comprising:

creating a data structure for storing the set of available contexts.

16. A computer implemented method of testing an embedded example in a graphical user interface documentation, comprising:

creating an extractable embedded example by tagging the embedded example;

extracting the extractable embedded example from the graphical user interface documentation to generate an extracted example;

selecting a tagged entity from the extracted example;

interpreting the tagged entity to generate an interpreted tagged entity;

creating a test suite using the interpreted tagged entity;

selecting a graphical tool against which to execute the test suite;

executing the test suite against the graphical tool to generate an output response;

creating a golden file using at least one tag chosen from a tag set, wherein the golden file comprises at least one predetermined response selected from a group consisting of an image and a widget hierarchy based on the graphical user interlace documentation;

comparing the output response to the golden file;

creating the tagged entity using at least one tag chosen from the tag set;

locating a source of error if the output response varies from the golden file;

correcting the extractable embedded example if the output response varies from the golden file;

and generating a comparison result after comparing the output response to the golden file.

17. A computer system for testing an embedded example in a graphical user interface documentation, comprising:

a processor;

a memory;

a storage device;

a computer display; and

software instructions stored in the memory for enabling the computer system under control of the processor, to perform:

creating a golden file using at least one tag chosen from a tag set;

creating an extractable embedded example by tagging the embedded example; extracting the extractable embedded example from the graphical user interface documentation to generate an extracted example;

selecting a tagged entity from the extracted example;

interpreting the tagged entity to generate an interpreted tagged entity; creating a test suite using the interpreted tagged entity;

selecting a graphical tool against which to execute the test suite;

executing the test suite against the graphical tool to generate an output response; and

verifying the output response,

wherein the verifying of the output response comprise comparing the output response to the golden file,

wherein the golden file comprises at least one predetermined response selected from a group consisting of an image and a widget hierarchy based on the graphical user interface documentation.

18. The computer system of claim 17 , tagging the embedded example comprising delineating the embedded example using at least one tag chosen from a tag set.

19. The computer system of claim 17 , interpreting the tagged entity comprising using a set of rules comprising a context-free grammar.

20. The computer system of claim 17 , executing the test suite comprising:

setting a current context of the graphical tool;

selecting a widget from the test suite; and

generating a test statement directed to the widget if the widget is found in the current context.

21. An apparatus for testing an embedded example in graphical user interface documentation, comprising:

means for creating a golden file using at least one tag chosen from a tag set;

means for creating an extractable embedded example by tagging the embedded example;

means for extracting the extractable embedded example from the graphical user interface documentation to generate an extracted example;

means for selecting a tagged entity from the extracted example;

means for interpreting the tagged entity to generate an interpreted tagged entity;

means for creating a test suite using the interpreted tagged entity;

means for selecting a graphical tool against which to execute the test suite;

means for executing the test suite against the graphical tool to generate an output response; and

means for verifying the output response,

wherein the verifying of the output response comprise comparing the output response to the golden file,

wherein the golden file comprises at least one predetermined response selected from a group consisting of an image and a widget hierarchy based on the graphical user interface documentation.

Assignments (1)
MERGER AND CHANGE OF NAME Recorded Dec 16, 2015
From: ORACLE USA, INC.; SUN MICROSYSTEMS, INC.; ORACLE AMERICA, INC.
To: ORACLE AMERICA, INC.
Reel/Frame 037302/0616 →