发明名称 System and method for creating change-resilient scripts
摘要 A method for creating agnostic test automation script commands associated with a specified action and a user interface (UI) is provided. The method may include receiving a target element associated with the specified action. The method may also generate at least one anchor uniquely identifying the target element, wherein the target element is ambiguous. The method may further include generating an agnostic test automation script command based on the received target element and the at least one generated anchor. Additionally, the method may analyze, using the generated agnostic test automation script command, the at least one generated anchor to locate the target element within the user interface (UI), wherein the analyzing is based on an application on which the agnostic test automation script command is to be executed. The method may also include performing, using the generated agnostic test automation script command, the specified action on the located target element.
申请公布号 US9075918(B1) 申请公布日期 2015.07.07
申请号 US201414188718 申请日期 2014.02.25
申请人 International Business Machines Corporation 发明人 Chandra Satish;Rahulkrishna Yandrapally;Sinha Saurabh;Thummalapenta Suresh;Williamson Leigh A.
分类号 G06F9/44;G06F11/36 主分类号 G06F9/44
代理机构 代理人 Feighan Patricia B.
主权项 1. A computer system for creating agnostic test automation script commands associated with a specified action and a user interface (UI), the computer system comprising: one or more processors, one or more computer-readable memories, one or more computer-readable tangible storage devices, and program instructions stored on at least one of the one or more storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, wherein the computer system is capable of performing a method comprising: receiving a target element associated with the specified action; generating at least one anchor uniquely identifying the target element, wherein the target element is ambiguous and spatial analysis between the identified target element and a plurality of visual clues is used to generate the at least one anchor; generating an agnostic test automation script command based on the received target element and the at least one generated anchor, wherein the generated agnostic test automation script is meta-data free and non-platform specific; and analyzing, using the generated agnostic test automation script command, the at least one generated anchor to locate the target element within the user interface (UI), wherein the analyzing is based on an application on which the agnostic test automation script command is to be executed; performing, using the generated agnostic test automation script command, the specified action on the located target element.
地址 Armonk NY US