i'm trying write coded ui tests wpf application , have gotten part of application contains datagrid collapsing , expanding rows.
i able find , interact controls on collapsed rows fine using hand-coded tests haven't had luck finding of controls in expanded part of row. using crosshairs on such control shows item under uiitemrow, uiitemcustom (class name uia.datagriddetailspresenter), , target control. i'm not sure on how tell tests search find these controls.
maybe caused vertical virtualization. in case, try snoop
it must have wpf developer. in situation when traversing through visual tree.
Comments
Post a Comment