US 12,292,819 B2
Compatibility testing of web-based software applications
Hong Liang Zhao, Beijing (CN); Qi Li, Beijing (CN); Yan Hui Wang, Beijing (CN); Jia Lei Rui, Li Yang (CN); Qun Wei, Beijing (CN); and Yun Juan Yang, Beijing (CN)
Assigned to INTERNATIONAL BUSINESS MACHINES CORPORATION, Armonk, NY (US)
Filed by International Business Machines Corporation, Armonk, NY (US)
Filed on Sep. 21, 2022, as Appl. No. 17/933,887.
Prior Publication US 2024/0095155 A1, Mar. 21, 2024
Int. Cl. G06F 11/3668 (2025.01)
CPC G06F 11/3688 (2013.01) [G06F 11/3684 (2013.01)] 25 Claims
OG exemplary drawing
 
1. A computer-implemented method of analyzing compatibility of a web-based software application with a proposed computing environment for executing the web-based software application, the computer-implemented method comprising:
accessing, using a processor system, the web-based software application, wherein the web-based software application includes static code, dynamic code, generating multiple instances of static element-event pairs associated with the static code, and generating multiple instances of dynamic element-event pairs associated with the dynamic code;
generating, using the processor system, global element-event pairs of the web-based software application by scanning, using the processor system, the static code and the dynamic code of the web-based software application to generate a corresponding set of the static element-event pairs and the dynamic element-event pairs of the web-based software application;
wherein scanning the static code comprises using a first code analyzer of the processor system to scan the static code of the web-based software application;
wherein scanning the dynamic code comprises using a second code analyzer of the processor system to scan the dynamic code of the web-based software application while the web-based software application is running;
performing a comparison of the global element-event pairs with covered element-event pairs comprising global element-event pairs that can be tested by a set of initial compatibility tests; and
generating a compatibility testing recommendation based at least in part on a result of the comparison.