UITechnologyManager Search Methods


  • Search – Searches for an element matching the given query element. If the underlying UI Technology has rich APIs to search/navigate the UI hierarchy then implementing this method could improve the playback performance significantly.
    • This is an optional method and if the technology manager does not support this method it should throw System.NotSupportedException exception. If this is not supported then the framework uses GetChildren() API to do breadth-first traversal and for each element uses MatchElement() API to match & find.
  • GetLastInvocationInfo – Gets the information about the most recent invocation of the technology manager.
  • CancelStep – Cancels  any wait or search operation being performed by this technology manager because of call to WaitForReady or Search methods. This call is made on another thread as both WaitForReady and Search are blocking.
  1. UITechnologyManager class « Ryan Burnham's Blog

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: