Jacob.UIAutomation.dll (. NET UI Automation Encapsulation)-absolutely original

Source: Internet
Author: User
Tags new set

UIAutomation is a new set of UI Automation testing technologies that Microsoft has launched from Windows Vista, referred to as UIA. In the latest Windows SDK, other components that support UI Automation technology, such as UIA and MSAA, are released together, called the Windows Automation API.

UIA defines a new interface and pattern for UI Automation. Treewalker/findall that support traversal and conditional queries on UI elements, respectively. Defines the UIA property for reading and writing UI element properties, including name, ID, Type, ClassName, location, visibility, and so on. Defines the UIA Pattern for UI element behavior, such as SELECT, Expand, Resize, Check, value, and so on. The UIA event interface is also introduced to allow the test program to be notified after certain events have occurred, such as new window opening events.

The introduction in MSDN is really very detailed, where is theMSDN documentation for UI Automation. In this:http://msdn.microsoft.com/en-us/library/ms753107.aspx We only look at the key section: Using UI Automation for automated Testing The above documents can be found in various complex situations.

But for a person who has just come into contact, chatty's documentation makes it impossible. For this reason I in the UI Automation based on the work often encountered in the situation, the various operations are encapsulated, all the methods are on their own keyboard knocked out, the current version of 1.0.0.0 is still relatively rough, in use may encounter bugs, etc., please point out, I will continue to improve. If Daniel thinks his level is already very high, can float over, hehe.

The following methods are currently encapsulated in this release:

Please download the Help file at Csdn, http://download.csdn.net/detail/chenxu7601257/5163879

How to get DLL files, use NuGet to get, if not know what NuGet is using NuGet, click here http://kb.cnblogs.com/page/143190/

Under the Manage Nuget Packages window, search for Jacob or Jacob.uiautomation, the first one is, and then install to successfully reference the DLL to your project.

Reminder: This version is 1.0.0.0, which has a lot of imperfect places, have any good comments and suggestions, please share together, grow together. Thank you.

If there is a need to reprint, trouble mark the source, thank you. Support the original!

Jacob.UIAutomation.dll (. NET UI Automation Encapsulation)-absolutely original

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.