微软提供的控件Pattern 

System.Windows.Automation 命名空间

  System.Windows.Automation.BasePattern 为控件模式类提供基实现
System.Windows.Automation.DockPattern 表示在某个停靠容器内公开其停靠属性的控件
System.Windows.Automation.ExpandCollapsePattern 表示以可视方式进行展开(以显示内容)和折叠(以隐藏内容)的控件。
System.Windows.Automation.GridItemPattern 通常,可以使用键盘来遍历支持 GridItemPattern 的控件(即,UI 自动化客户端可以移动到相邻的控件上)
System.Windows.Automation.GridPattern 表示充当子元素集合的容器的控件。 此控件的子级支持 GridItemPattern,而且必须组织在一个可以按行和列进行遍历的二维逻辑坐标系中
System.Windows.Automation.InvokePattern 表示发起或执行某个明确操作并且在激活后不维护状态的控件
System.Windows.Automation.ItemContainerPattern 表示一个对象,该对象管理项并支持按属性值检索项
System.Windows.Automation.MultipleViewPattern 表示提供同一组信息或子控件的多种表示方式(并能够在这些表示方式之间切换)的控件
System.Windows.Automation.RangeValuePattern 表示一个控件,可将其设置为范围内的一个值
System.Windows.Automation.ScrollItemPattern 表示支持 ScrollPattern 控件模式的容器的子控件
System.Windows.Automation.ScrollPattern 表示充当子元素集合的可滚动容器的控件。 该元素的子级支持 ScrollItemPattern
System.Windows.Automation.SelectionItemPattern 表示支持 SelectionPattern 的容器控件中的可选子项。
System.Windows.Automation.SelectionPattern 表示一个充当可选子项集合的容器的控件。 此元素的子级支持 SelectionItemPattern
System.Windows.Automation.SynchronizedInputPattern 表示支持同步输入事件的对象。
System.Windows.Automation.TextPattern 表示包含文本的控件。
System.Windows.Automation.TogglePattern 表示可以循环通过一组状态并在设置后保持某种状态的控件。
System.Windows.Automation.TransformPattern 表示一个可以在二维空间中移动、调整大小或旋转的控件。
System.Windows.Automation.ValuePattern 表示一个控件,该控件具有一个不跨越某个范围而且可以表示为一个字符串的内部值。 此字符串既可以是可编辑的,也可以是不可编辑的,具体取决于控件及其设置。
System.Windows.Automation.VirtualizedItemPattern 表示容器内已虚拟化并且需要像 UI 自动化元素一样可完全访问的项。
System.Windows.Automation.WindowPattern 表示一个控件,该控件提供传统图形用户界面 (GUI) 中基于窗口的重要功能。

使用UI Automation实现自动化测试 --微软提供的控件Pattern的更多相关文章

  1. 使用UI Automation实现自动化测试--1-4

    Introduction UI Automation是Microsoft .NET 3.0框架下提供的一种用于自动化测试的技术,是在MSAA基础上建立的,MSAA就是Microsoft Active ...

  2. 使用UI Automation实现自动化测试--5-7

    使用UI Automation实现自动化测试--5 (Winfrom和WPF中弹出和关闭对话框的不同处理方式) 在使用UI Automation对Winform和WPF的程序测试中发现有一些不同的地方 ...

  3. iOS开发UI篇—Date Picker和UITool Bar控件简单介绍

    iOS开发UI篇—Date Picker和UITool Bar控件简单介绍 一.Date Picker控件 1.简单介绍: Date Picker显示时间的控件 有默认宽高,不用设置数据源和代理 如何 ...

  4. “System.Web.UI.WebControls.Literal”不允许使用子控件

    今天在写下面的代码时遭遇错误——“System.Web.UI.WebControls.Literal”不允许使用子控件('System.Web.UI.WebControls.Literal' does ...

  5. Android自动化测试中AccessibilityService获取控件信息(2)-三种方式对比

    Android自动化测试中AccessibilityService获取控件信息(2)-三种方式对比   上一篇文章: Android自动化测试中AccessibilityService获取控件信息(1 ...

  6. Android自动化测试中AccessibilityService获取控件信息(1)

    Android自动化测试中AccessibilityService获取控件信息(1) 分类: android自动化测试2014-03-24 15:31 3455人阅读 评论(16) 收藏 举报 and ...

  7. Qt5 UI信号、槽自动连接的控件重名

    Qt5 UI信号.槽自动连接的控件重名 来源 http://blog.csdn.net/goldenhawking/article/details/51865909 对Qt5稍有熟悉的童鞋都知道信号. ...

  8. 关于如何在 Unity 的 UI 菜单中默认创建出的控件 Raycast Target 属性默认为 false

    关于如何在 Unity 的 UI 菜单中默认创建出的控件 Raycast Target 属性默认为 false 我们在 Unity 中通过 UI 菜单创建的各种控件,比如 Text, Image 等, ...

  9. 使用UI Automation实现自动化测试--1

    Introduction UI Automation是Microsoft .NET 3.0框架下提供的一种用于自动化测试的技术,是在MSAA基础上建立的,MSAA就是Microsoft Active ...

随机推荐

  1. Mysql存储过程简明使用

    mysql> \d //  改变命令行下的结束符标志mysql> create procedure p3() -> begin -> set @i=1;  # 这样也可以定义变 ...

  2. Embedded System.

    Soc ( System on Chip) Soc is an integrated circuit (IC) that integrates all components of a computer ...

  3. (PowerShell) Managing Windows Registry

    http://powershell.com/cs/blogs/ebookv2/archive/2012/03/23/chapter-16-managing-windows-registry.aspx

  4. CF 461B Appleman and Tree 树形DP

    Appleman has a tree with n vertices. Some of the vertices (at least one) are colored black and other ...

  5. NeHe OpenGL教程 第三十课:碰撞检测

    转自[翻译]NeHe OpenGL 教程 前言 声明,此 NeHe OpenGL教程系列文章由51博客yarin翻译(2010-08-19),本博客为转载并稍加整理与修改.对NeHe的OpenGL管线 ...

  6. vim 学习日志(2):set的使用方法

    一,打开或关闭行号(number) 如果希望每次进入vi 会话时都显示行号,那么在主目录中的.exrc 文件中添加 set number 行. 在命令模式下,使用如下命令 :set all      ...

  7. centos nginx环境下删除CI框架Index.php入口遇到404问题

    今天在网上百度看了很多文章,想要去掉index.php入口文件有好多方法,自己也照着在网站到根目录下新建了一个.htaccess文件,内容如下: RewriteEngine On RewriteCon ...

  8. ylbtech-Unitity-CS:AnonymousDelegates

    ylbtech-Unitity-CS:AnonymousDelegates 1.A,效果图返回顶部   1.B,源代码返回顶部 1.B.1, using System; using System.Co ...

  9. JAVA 文本框、密码框、标签

    //文本框,密码框,标签 import java.awt.*; import javax.swing.*; public class Jiemian5 extends JFrame{ JPanel m ...

  10. 使用JMeter创建FTP测试计划

    FTP服务主要提供上传和下载功能.有时间需要我们测试服务器上传和下载的性能.在这里我通过JMeter做一个FTP测试计划的例子. 当然,JMeter官方网站的用户手册也有例子,但由于版本较早,我也算是 ...