IP Library Granted Patent US 12,524,331
Granted Patent B2
US 12,524,331 · App. 18/450,300 · Granted Jan 13, 2026

Method and apparatus to recognize and correlate screens

Inventors: Gary Jason Evans (High Peak, GB); Arnoldus Bernardus Johannes Maria Geels (Utrecht, NL); Brett L. Hall (Kennewick, WA); Karl A. Uppiano (Ferndale, WA)
Assignee: Micro Focus LLC
G06F11/3684G06F11/3688
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 12,524,331
App. No.
18/450,300
Granted
Jan 13, 2026
Kind
B2
Abstract

Text screen description data for a terminal-based application is received. For example, the text screen description data may be received via an Application Programming Interface (API) call. The text screen description data comprises a screen description and one or more text field descriptions associated with the screen description. The one or more text field descriptions are associated with one or more text fields. The text screen description data is based on Basic Mapping Support (BMS) mappings. Image data of a screen for the terminal-based application is captured. The captured image data of the screen of the terminal-based application is correlated to the text screen description data for the terminal-based application to identify the one or text fields. As a result, a test script is automatically generated to test the one or more text fields based on the correlation.

Claims (43)

1 . A system comprising:

a microprocessor; and

a computer readable medium, coupled with the microprocessor and comprising microprocessor readable and executable instructions that, when executed by the microprocessor, cause the microprocessor to:

retrieve text screen description data for a terminal-based application, wherein the text screen description data comprises a screen description and one or more text field descriptions associated with the screen description, wherein the one or more text field descriptions are associated with one or more text fields, and wherein the text screen description data is based on Basic Mapping Support (BMS) mappings;

capture image data of a first screen for the terminal-based application;

identify, using an identifier associated with the first screen, text screen description data for the first screen in source code of the terminal-based application:

correlate the captured image data of the first screen of the terminal-based application to the text screen description data for the first screen in the terminal-based application to identify the one or more text fields; and

automatically generate a test script to execute a function of the terminal-based application to test the one or more text fields based on the correlation.

2 . The system of claim 1 , wherein the microprocessor readable and executable instructions further cause the microprocessor to:

execute the test script to test the terminal-based application; and

compare results of the captured image data with results of the test script to verify the function of the terminal-based application.

3 . The system of claim 2 , wherein the automatically generated test script uses fully qualified field names and screen names that identify the one or more text fields.

4 . The system of claim 2 , wherein automatically creating the test scripts comprises automatically creating the test scripts in a user defined language.

5 . The system of claim 2 , wherein the terminal-based application has been migrated to a new platform and the test script is executed on the migrated terminal-based application.

6 . The system of claim 1 , wherein the BMS mappings are generated based on source code of the terminal-based application, and wherein object names of each field are learned by scanning the source code.

7 . The system of claim 1 , wherein the screen descriptions are based on source code of the terminal-based application.

8 . The system of claim 1 , wherein the test script is used to test the terminal-based application and wherein the terminal-based application has been migrated from a mainframe application to a non-mainframe application.

9 . A method comprising:

retrieving, by a microprocessor, text screen description data for a terminal-based application, wherein the text screen description data comprises a screen description and one or more text field descriptions associated with the screen description, wherein the one or more text field descriptions are associated with one or more text fields, and wherein the text screen description data is based on Basic Mapping Support (BMS) mappings;

capturing, by the microprocessor, image data of a first screen for the first screen in the terminal-based application;

identifying, using an identifier associated with the first screen, text screen description data for the first screen in source code of the terminal-based application;

correlating, by the microprocessor, the captured image data of the first screen of the terminal-based application to the identified text screen description data for the terminal-based application to identify the one or text fields; and

automatically generating, by the microprocessor, a test script to execute a function of the terminal-based application to test the identified one or more text fields based on the correlation.

10 . The method of claim 9 , further comprising:

executing the test script to test the terminal-based application; and

comparing results of the captured image data with results of the test script to verify the function of the terminal-based application.

11 . The method of claim 10 , wherein the automatically generated test script uses fully qualified field names and screen names that identify the one or more text fields.

12 . The method of claim 10 , wherein automatically creating the test scripts comprises automatically creating the test scripts in a user defined language.

13 . The method of claim 10 , wherein the terminal-based application has been migrated to a new platform and the test script is executed on the migrated terminal-based application.

14 . The method of claim 9 , wherein the BMS mappings are based on source code of the terminal-based application, and wherein object names of each field are learned by scanning the source code.

15 . The method of claim 9 , wherein the screen descriptions are based on source code of the terminal-based application.

16 . The method of claim 9 , wherein the test script is used to test the terminal-based application and wherein the terminal-based application has been migrated from a mainframe application to a non-mainframe application.

17 . A non-transient computer readable medium having stored thereon instructions that cause a microprocessor to execute a method, the method comprising instructions to:

retrieve text screen description data for a terminal-based application, wherein the text screen description data comprises a screen description and one or more text field descriptions associated with the screen description, wherein the one or more text field descriptions are associated with one or more text fields, and wherein the text screen description data is based on Basic Mapping Support (BMS) mappings;

capture image data of a first screen for the terminal-based application;

identify, using an identifier associated with the first screen, text screen description data for the first screen in source code of the terminal-based application;

correlate the captured image data of the first screen of the terminal-based application to the identified text screen description data for the first screen in the terminal-based application to identify the one or text fields; and

automatically generate a test script to execute a function of the terminal-based application to test the identified one or more text fields based on the correlation.

18 . The non-transient computer readable medium of claim 17 , wherein the instructions further cause the microprocessor to:

execute the test script to test the terminal-based application; and

compare results of the captured image data with results of the test script to verify the function of the terminal-based application.

19 . The non-transient computer readable medium of claim 18 , wherein the automatically generated test script uses fully qualified field names and screen names that identify the one or more text fields.

20 . The non-transient computer readable medium of claim 18 , wherein automatically creating the test scripts comprises automatically creating the test scripts in a user defined language.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 15, 2023
From: EVANS, GARY JASON; GEELS, ARNOLDUS BERNARDUS JOHANNES MARIA; HALL, BRETT L.; UPPIANO, KARL A.
To: MICRO FOCUS LLC
Reel/Frame 064598/0149 →
Continuity (1)
Related Publication 20250061048A1 · Feb 20, 2025
References Cited (8)
US 11055205B1 · Chauhan · 2021 [cited by examiner]
US 11550707B2 · Vasavan · 2023 [cited by examiner]
US 20060041862A1 · Moussallam · 2006 [cited by examiner]
US 20190065351A1 · Rakhmilevich · 2019 [cited by examiner]
US 20190370152A1 · Godefroid · 2019 [cited by examiner]
“3270 Information Display System Data Stream Programmer's Reference,” IBM, Dec. 1988, 5th Ed. GA23-0059-4, 380 pages. [cited by applicant]
Kelly “TN3270 Enhancements,” The Internet Society, Jun. 1998, RFC 2355, 38 pages. [cited by applicant]
Penner “TN3270 Current Practices,” Network Working Group, Jan. 1994, RFC 1576, 12 pages. [cited by applicant]