Patent ID: 7369129

Claim:
A computer program product, tangibly embodied in a machine-readable storage medium, the computer program product comprising instructions that, when read by a machine, operate to cause data processing apparatus to perform operations comprising: interacting with a user to receive a selection of a section of a first rendering of a user interface; automatically identifying one or more first straight lines in the section, each of the one or more first straight lines having one or more respective attributes; storing the one or more attributes for each of the one or more first straight lines, the one or more attributes for each of the one or more first straight lines being stored as line textual data that specifies the respective one or more attributes for each of the one or more first straight lines; receiving a second rendering of the user interface by a software application, the second rendering being rendered by a modified version of the software application; and using the attributes stored as the line textual data to determine whether or not each of the one or more first straight lines matches a corresponding one of one or more second straight lines in the second rendering of the user interface without matching a section region surrounding a line region occupied by the one or more first straight lines, and if not, determining that the layout of the second rendering of the user interface is not correct.