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
1. A method of identifying a boundary of a field of a text-based screen for a test tool, the text-based screen being associated with a screen Java object, a 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, comprising:
- 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;
determining a starting screen pixel location of the text area of the screen Java object;
determining a text-based row, a text-based starting column and a text-based ending column which is associated with one of the field Java objects that is associated with a particular field proxy Java object;
determining a field corner pixel location based on the text-based row, the text-based starting column and the starting screen pixel location;
determining a field pixel width based on the text-based starting column and the text-based ending column;
determining a field pixel height of the text-based row; and
providing the field corner pixel location, the field pixel width and the field pixel height to the test tool.
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.
-
Citations
18 Claims
-
1. A method of identifying a boundary of a field of a text-based screen for a test tool, the text-based screen being associated with a screen Java object, a 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, comprising:
-
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;
determining a starting screen pixel location of the text area of the screen Java object;
determining a text-based row, a text-based starting column and a text-based ending column which is associated with one of the field Java objects that is associated with a particular field proxy Java object;
determining a field corner pixel location based on the text-based row, the text-based starting column and the starting screen pixel location;
determining a field pixel width based on the text-based starting column and the text-based ending column;
determining a field pixel height of the text-based row; and
providing the field corner pixel location, the field pixel width and the field pixel height to the test tool. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. An article of manufacture comprising a computer usable medium embodying one or more instructions executable by a computer for performing a method of identifying a boundary of a field of a text-based screen for a test tool, the text-based screen being associated with a screen Java object, a 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, said method comprising:
-
associating a screen proxy Java object with the screen Java object, the screenProxy Java object being accessible to the test tool;
associating field proxy Java objects with respective field Java objects, the field proxy Java object being accessible to the test tool;
determining a starting screen pixel location of the text area of the screen Java object;
determining a text-based row, a text-based starting column and a text-based ending column which is associated with one of the field Java objects that is associated with a particular field proxy Java object;
determining a field corner pixel location based on the text-based row, the text-based starting column and the starting screen pixel location;
determining a field pixel width based on the text-based starting column and the text-based ending column;
determining a field pixel height of the text-based row; and
providing the field corner pixel location, the field pixel width and the field pixel height to the test tool. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. An apparatus for identifying a boundary of a field of a text-based screen for a test tool, the text-based screen being associated with a screen Java object, a 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, comprising:
-
a processor; and
a memory comprising one or more instructions that;
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;
determine a starting screen pixel location of the text area of the screen Java object;
determine a text-based row, a text-based starting column and a text-based ending column which is associated with one of the field Java objects that is associated with a particular field proxy Java object;
determine a field corner pixel location based on the text-based row, the text-based starting column and the starting screen pixel location;
determine a field pixel width based on the text-based starting column and the text-based ending column;
determine a field pixel height of the text-based row; and
provide the field corner pixel location, the field pixel width and the field pixel height to the test tool. - View Dependent Claims (14, 15, 16, 17, 18)
-
Specification