Quantcast
Channel:
Viewing all articles
Browse latest Browse all 45194

Wiki Page: Why does the Silk Test Open Agent identify a WPF Window using its caption as opposed to the automationId?

$
0
0
  By default the Open Agent will use the automationId attribute as the primary identifier for a WPF object as long as the object provides this attribute for recognition. However the Open Agent will always use the caption attribute to identify a “WPF Windows” by default; this behaviour is as designed. The reason for this from a Silk Test technical perspective is that the WPF window is owned by the Win32 techDomain and Win32 uses the caption attribute as default. This is why the caption attribute is used for a WPF Window and for every other control/class the automationDd is used to identify the object However you can manually changed the X-Path locator to use the automationid for object recognition of the WPF Window as shown below. Please note that, it is not possible to force the automatic recording of the automationid in a WPF Window

Viewing all articles
Browse latest Browse all 45194

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>