发明名称 Generating test scripts through application integration
摘要 This claimed subject matter relates to techniques for generating a test script from a pre-existing script for testing a graphical user interface (GUI) comprising: parsing a pre-existing test script; parsing the model associated with the GUI; identifying GUI actions that are identified by keywords and associated parameters that exist in the pre-existing test script; and generating a new test script by adding the identified actions.
申请公布号 US9317406(B2) 申请公布日期 2016.04.19
申请号 US201414254137 申请日期 2014.04.16
申请人 International Business Machines Corporation 发明人 Pilot Richard W.;Richards Graham
分类号 G06F11/36 主分类号 G06F11/36
代理机构 Greg Goshorn, P.C. 代理人 Tyson Thomas E.;Goshorn Gregory K.;Greg Goshorn, P.C.
主权项 1. An apparatus for generating a test script from a pre-existing test script for testing a graphical user interface (GUI), said system comprising: a plurality of processors; a non-transitory computer-readable storage medium coupled to the plurality of processors; a first parser, stored on the computer readable storage medium and executed on the plurality of processors, a pre-existing test script to identify, using keywords and associated parameters, a first GUI action in a first line of the pre-existing test script; a second parser, stored on the computer readable storage medium and executed on the plurality of processors, that parses a model associated with the GUI to identify GUI actions and associated elements for the GUI actions in the model; a matching engine, stored on the computer readable storage medium and executed on the plurality of processors, for identifying a corresponding element for the first GUI action in a second line, following the first line, in the pre-existing test script that match a GUI action and associated element of the GUI actions and associated elements for the GUI actions in the model; and a generator, stored on the computer readable storage medium and executed on the plurality of processors, for generating a new test script by adding the first GUI action and corresponding element to the pre-existing test script.
地址 Armonk NY US