发明名称 Adopting an existing automation script to a new framework
摘要 Arrangements described herein relate to adopting an existing automation script to a new framework. A first version of an automation script configured to execute in a first framework, and expected unit test results for the automation script, are received. A second version of the automation script is created from the first version of the automation script. The second version of the automation script is configured to execute in at least a second framework. The first version of the automation script is executed in the first framework to run a first version of a unit test and the second version of the automation script is executed in the second framework to run a second version of the unit test. Results generated by execution of the first and second versions of the automation script are analyzed to validate the second version of the automation script.
申请公布号 US9411711(B2) 申请公布日期 2016.08.09
申请号 US201314042437 申请日期 2013.09.30
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 Herrin Bradley C.;Mehra Maneesh
分类号 G06F11/36;G06F9/44 主分类号 G06F11/36
代理机构 Cuenot, Forsythe & Kim, LLC 代理人 Cuenot, Forsythe & Kim, LLC
主权项 1. A system comprising: a processor programmed to initiate executable operations comprising: receiving a first version of an automation script configured to execute in a first framework and expected unit test results for the automation script; automatically creating a second version of the automation script from the first version of the automation script, the second version of the automation script configured to execute in at least a second framework; generating a first plurality of outputs by executing the first version of the automation script in the first framework to run a first version of a unit test and, in parallel with executing the first version of the automation script, generating a second plurality of outputs by executing the second version of the automation script in the second framework to run a second version of the unit test; comparing each sequential one of the first plurality of outputs generated by the first version of the automation script running the first version of the unit test and a corresponding one of the second plurality of outputs generated by the second version of the automation script running the second version of the unit test, as output pairs, to at least one expected unit test result to determine whether the first output and the second output correlate with the expected unit test result; and responsive at least to one output in a particular output pair not correlating with the expected unit test result, identifying code in the first version of the automation script and code in the second version of the automation script that generate the respective outputs in the output pair.
地址 Armonk NY US