自定义Datagrid与代码UI测试 [英] Custom Datagrid vs Code UI Test
问题描述
HI,
我是编码UI测试的新手。浏览不同的博客和 尝试通过将以下代码添加到xaml来记录自定义数据网格(框架3.5)上的点击。但它不起作用。您可以帮助我在自定义数据网格(框架3.5)上使用已编码的 I am New to coded UI tests. Gone through the different blogs and tried to record the clicks on the custom datagrid(framework 3.5) by adding the below code to the xaml. But It doesn't work. Can you please help me to recognize the clicks with coded
ui test build on the custom datagrid (framework 3.5)? <! - 行样式 - > < <Style
x:Key="RowStyle"
TargetType="{x:Type
xptWPFToolkit:DataGridRow}"> < Setter <Setter
Property="AutomationProperties.AutomationId"
Value="{Binding
ID}"/> < Setter <Setter
Property="AutomationProperties.Name"
Value="{Binding
ID}"/> 感谢。谢谢。 - SP 这篇关于自定义Datagrid与代码UI测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
ui测试版本来识别点击次数吗?
x : 键 =" RowStyle"
TargetType =" { x : 类型
xptWPFToolkit : DataGridRow }">
Property =" AutomationProperties.AutomationId"
值 =" { 绑定
ID }" />
Property =" AutomationProperties.Name"
值 =" { 绑定
ID }" />
推荐答案
编码UI测试不支持WPF工具包数据网格。
WPF toolkit data grid is not supported in Coded UI Test.