发明名称 Element persistent identification
摘要 Described herein are APIs that enable generating identifier information for a user interface element of interest within a user interface of a computer program based on a description of a hierarchical element path comprising parent elements that the user interface element inherits from. Unlike more fragile identifiers, an element path identifier persists across instances of the computer program, across different computers, across different builds of the program etc. Also described herein, are APIs that enable searching for a location of a user interface element of interest in a target program using the element path identifier for the user interface. The element path identifier may be represented in a string data type or a user defined data type. APIs for converting between a user-defined data type and a string type and vice versa are also provided. The element path identifier may be composed from common identifier information of component elements of an element path. Such identifiers may include class names of user interface elements, module names of application programs in the element path, and sibling order information. Other information could be added to further reduce ambiguity. For instance, runtime identifiers (e.g., process identifiers) may be added to distinguish between user interface elements of two different instances of the same program. The presence of strongly named branch portions within which elements are guaranteed to be uniquely identified may be leveraged to persistently identify user interface elements by adding the unique identifiers of the named branch elements to the element path identifier.
申请公布号 US2005091510(A1) 申请公布日期 2005.04.28
申请号 US20030692923 申请日期 2003.10.23
申请人 MICROSOFT CORPORATION 发明人 MCKEON BRENDAN;WONG PETER K.;STROM SUSAN;SINCLAIR ROBERT E.II
分类号 G06F9/44;H04K1/00;(IPC1-7):H04K1/00 主分类号 G06F9/44
代理机构 代理人
主权项
地址