Editar

Partilhar via


Search Path Elements in Unified Service Desk

Web applications and web pages can contain frames. The frames can have associated controls. You can also configure data-driven adapter (DDA) controls for frame-based controls. For example, you might need to access the HTML form controls inside a frame. To do this, you would search a specific frame within a window for specific data. You can include that search in the WebDDA itself.

Search path elements

The WebDDA defines three elements that can be used in the search path for a given control:

  • AttributeMatchPath

  • ElementMatchPath

  • FindIEFrame

    A control's search path can contain multiple elements. They will be executed in the order in that they are listed in the search path. For example, the following control description first looks for an Internet Explorer window described with the <FindIEFrame/> element, and then it uses the <ElementMatchPath/> element to identify the desired control within this Internet Explorer window.

<HtmlElement name="Popup Text1" type="HtmlElement">  
<FindIEFrame matchtype="endswith">Popup - Windows Internet Explorer</FindIEFrame>  
<ElementMatchPath>/HTML/BODY/P/FONT</ElementMatchPath>  
</HtmlElement>  
  

See also

WebDDA
Use Data Driven Adapters (DDAs)