EBDN - Community - Question & Answers

  Tuesday, 06 August 2024
  0 Replies
  1.2K Visits
0
Votes
Undo
UI Automation is a technology that provides programmatic access to most user interface (UI) elements on the desktop which can be used by assistive technologies and automated scripts to interact with the UI elements. This comes particularly in use for testing purposes.

The working of UI Automation is briefly explained below:

  1. Providers and Clients
  2. Providers: These are components that expose information about UI elements and respond to programmatic input. They are normally
    implemented by application developers
    Clients: These are applications or scripts that consume the information provided by the providers to interact with the UI elements.


  1. Automation Elements: Each UI element is represented as an Automation Element


  1. UI Automation model
  2. UI Automation Tree: This is a hierarchical representation of the UI elements in an application.
    Control Patterns: These are sets of properties and methods that define the behavior of a UI element. The methods that control patterns provide
    enables clients to get further information about the element and to provide input.


  1. Automation Events: UI Automation supports events that notify clients about changes in the UI.


For more information, please refer to the Microsoft UI Automation webpage: https://learn.microsoft.com/en-us/dotnet/framework/ui-automation
Oliver Heine set the post as Normal priority — 4 months ago
Oliver Heine set the type of the post as  Question — 4 months ago
There are no replies made for this post yet.