×

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

  • US 7,392,506 B2
  • Filed: 07/29/2004
  • Issued: 06/24/2008
  • Est. Priority Date: 07/29/2004
  • Status: Active Grant
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.

View all claims
  • 3 Assignments
Timeline View
Assignment View
    ×
    ×