The UI Automation connector
UI Automation is a standard protocol that was developed by Microsoft to automate applications that had been developed with the following technologies:
- Microsoft technologies such as Win32, WinForm, WPF, and Silverlight
- Any technology that supports Microsoft Active Accessibility (MSAA), such as QT
If a Windows application is captured with the Win32 connector but does not allow you to select the elements that are required for automation, you can use this connector. We will learn more about element declaration in the next chapter.
Let's use Kdiff.exe
to capture and create a new application in MyFirstProject
using the UI Automation connector by performing the following steps:
- Start
Kdiff3.exe
. Cancel the default dialog that is displayed in the Kdiff3 application. - Open the
MyFirstProject
project, if it's not already open in Desktop Studio. - Go to the Explorer perspective.
- Click the + Add Application button. ...