Method, system and article of manufacture for testing a software application having a text-based screen with a test tool for a software application having a graphical user interface which uses objects
First Claim
Patent Images
1. A computer-implemented method of identifying a boundary of a field of a text-based screen of a software application for a test tool, comprising:
- executing the test tool;
executing the software application, the software application displaying a text-based screen having a text area, the text-based screen being associated with a screen Java object, the text-based screen having a plurality of text-based fields in the text area, the text-based fields being associated with respective field Java objects, wherein a particular text-based field of the text-based fields is associated with a particular field Java object of the field Java objects;
associating a screen proxy Java object with the screen Java object, the screen proxy Java object being accessible to the test tool;
associating field proxy Java objects with respective field Java objects, the field proxy Java objects being accessible to the test tool, wherein the particular field Java object is associated with a particular field proxy Java object of the field proxy Java objects;
determining a starting screen pixel location of the text area of the text-based screen associated with the screen Java object;
determining a text-based row, a text-based starting column and a text-based ending column of the particular text-based field which is associated with the particular field Java object that is associated with the particular field proxy Java object;
determining a field corner pixel location of the particular text-based field based on the text-based row, the text-based starting column and the starting screen pixel location, wherein said determining the field corner pixel location of the particular text-based field comprises;
determining a starting corner pixel location of the particular text-based field based on the text-based row and the text-based starting column; and
computing the field corner pixel location of the particular text-based field based on the starting corner pixel location and the starting screen pixel location;
determining a field pixel width of the particular text-based field based on the text-based starting column and the text-based ending column;
determining a field pixel height of the text-based row;
providing the field corner pixel location, the field pixel width and the field pixel height to the test tool; and
in response to the test tool, displaying a visual indicator, in the text area of the text-based screen identifying the particular text-based field based on the field corner pixel location, the field pixel width and the field pixel height.
3 Assignments
0 Petitions
Accused Products
Abstract
Various embodiments of a method, apparatus and article of manufacture that identify a boundary of a field of a text-based screen for a test tool are provided. These embodiments allow single test tool to test software applications that have a text-based screen and software applications that have a graphical user interface with Java objects.
48 Citations
19 Claims
-
1. A computer-implemented method of identifying a boundary of a field of a text-based screen of a software application for a test tool, comprising:
-
executing the test tool; executing the software application, the software application displaying a text-based screen having a text area, the text-based screen being associated with a screen Java object, the text-based screen having a plurality of text-based fields in the text area, the text-based fields being associated with respective field Java objects, wherein a particular text-based field of the text-based fields is associated with a particular field Java object of the field Java objects; associating a screen proxy Java object with the screen Java object, the screen proxy Java object being accessible to the test tool; associating field proxy Java objects with respective field Java objects, the field proxy Java objects being accessible to the test tool, wherein the particular field Java object is associated with a particular field proxy Java object of the field proxy Java objects; determining a starting screen pixel location of the text area of the text-based screen associated with the screen Java object; determining a text-based row, a text-based starting column and a text-based ending column of the particular text-based field which is associated with the particular field Java object that is associated with the particular field proxy Java object; determining a field corner pixel location of the particular text-based field based on the text-based row, the text-based starting column and the starting screen pixel location, wherein said determining the field corner pixel location of the particular text-based field comprises;
determining a starting corner pixel location of the particular text-based field based on the text-based row and the text-based starting column; and
computing the field corner pixel location of the particular text-based field based on the starting corner pixel location and the starting screen pixel location;determining a field pixel width of the particular text-based field based on the text-based starting column and the text-based ending column; determining a field pixel height of the text-based row; providing the field corner pixel location, the field pixel width and the field pixel height to the test tool; and in response to the test tool, displaying a visual indicator, in the text area of the text-based screen identifying the particular text-based field based on the field corner pixel location, the field pixel width and the field pixel height. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. An article of manufacture comprising a computer readable device comprising computer readable program code for identifying a boundary of a field of a displayed text-based screen of a software application for a test tool, the text-based screen being associated with a screen Java object, the text-based screen having a text area, the text-based screen having a plurality of text-based fields in the text area, the text-based fields being associated with respective field Java objects, wherein a particular text-based field of the plurality of text-based fields is associated with a particular field Java object of the plurality of field Java objects, said article of manufacture comprising:
-
computer readable program code for associating a screen proxy Java object with the screen Java object, the screen Proxy Java object being accessible to the test tool; computer readable program code for associating field proxy Java objects with respective field Java objects, the field proxy Java objects being accessible to the test tool, wherein the particular field Java object is associated with a particular field proxy Java object of the field proxy Java objects; computer readable program code for determining a starting screen pixel location of the text area of the text-based screen associated with the screen Java object; computer readable program code for determining a text-based row, a text-based starting column and a text-based ending column of a particular text-based field of the plurality of text-based fields, the particular text-based field being associated with a particular field Java object of the field Java objects, the particular field Java object being associated with a particular field proxy Java object; computer readable program code for determining a field corner pixel location of the particular text-based field based on the text-based row, the text-based starting column and the starting screen pixel location, wherein said computer readable program code for determining said field corner pixel location of the particular text-based field comprises;
computer readable program code for determining a starting corner pixel location of the particular text-based field based on the text-based row and the text-based starting column; and
computer readable program code for computing the field corner pixel location of the particular text-based field based on the starting corner pixel location and the starting screen pixel location;computer readable program code for determining a field pixel width of the particular text-based field based on the text-based starting column and the text-based ending column; computer readable program code for determining a field pixel height of the text-based row; computer readable program code for providing the field corner pixel location, the field pixel width and the field pixel height to the test tool; and computer readable program code for, in response to the test tool, displaying a visual indicator in the text area of the text-based screen identifying the particular field on the text-based screen based on the field corner pixel location, the field pixel width and the field pixel height. - View Dependent Claims (11, 12, 13, 14)
-
-
15. An apparatus for identifying a boundary of a field of a text-based screen for a test tool, comprising:
-
a processor; and a memory storing; a test tool, executable by the processor; and a software application, executable by the processor, the software application when executed causes the processor to display a text-based screen having a text area, the text-based screen being associated with a screen Java object, the text-based screen having a plurality of text-based fields in the text area, the text-based fields being associated with respective field Java objects, wherein a particular text-based field of the text-based fields is associated with a particular field Java object of the field Java objects; the memory also storing an extender module comprising instructions that when executed cause the processor to; associate a screen proxy Java object with the screen Java object, the screen proxy Java object being accessible to the test tool; associate field proxy Java objects with respective field Java objects, the field proxy Java objects being accessible to the test tool, wherein the particular field Java object is associated with a particular field proxy Java object of the field proxy Java objects; determine a starting screen pixel location of the text area of the text-based screen associated with the screen Java object; determine a text-based row, a text-based starting column and a text-based ending column of the particular text-basedfield which is associated with the particular field Java object that is associated with the particular field proxy Java object; determine a field corner pixel location of the particular text-based field based on the text-based row, the text-based starting column and the starting screen pixel location, wherein the instructions that determine the field corner pixel location of the particular text-based field when executed cause the processor to;
determine a starting corner pixel location of the particular text-based field based on the text-based row and the text-based starting column; and
compute the field corner pixel location of the particular text-based field based on the starting corner pixel location and the starting screen pixel location;determine a field pixel width of the particular text-based field based on the text-based starting column and the text-based ending column; determine a field pixel height of the text-based row; provide the field corner pixel location, the field pixel width and the field pixel height to the test tool; and in response to the test tool, display a visual indicator in the text area of the text-based screen identifying the particular text-based field on the text-based screen based on the field corner pixel location, the field pixel width and the field pixel height. - View Dependent Claims (16, 17, 18, 19)
-
Specification