How to access a datagrid from a WPF app and it's listItems

43 views
Skip to first unread message

Macra Alexandru

unread,
Jul 31, 2019, 2:25:50 AM7/31/19
to TestStack.White
Hello,

How can I access a datagrid that is a WPF app ,and the access it's items from it?


Thanks!
Alex

Mike Hetzer

unread,
Jul 31, 2019, 10:46:33 AM7/31/19
to TestStack.White
White's equivalent element type for a WPF "Datagrid" is "ListView"

https://github.com/TestStack/TestStack.docs/blob/master/_source/White/UIItems.md

This link has a usage example for listview towards the bottom.
Reply all
Reply to author
Forward
0 new messages