Forum Discussion

udhayas's avatar
udhayas
Occasional Contributor
14 years ago

WPF GridView controls

Hi,



I'm working on Automating an Windows Based application which are developed with WPF controls. In the application I have a wpf gridview object, which I have to get the rowcount and have to check every rows. How can I do it. Im using TestComplete 8.60.665.7. Please help me with getting the rowcount and accessing on each row.



Thanks,

Udhays.

1 Reply

  • irina_lukina's avatar
    irina_lukina
    Super Contributor

    Hi Udhay,


    I'm not sure whether TestComplete supports the control you've mentioned. If you meant WPFToolkitDataGrid, you can easily access its rows and their count using the following properties:

    1. wRowCount -> returns the number of rows.

    2. wValue -> returns the value of the specified cell.


    For the entire list of the WPF controls supported by TestComplete, please refer to the Testing WPF Applications - Overview help topic.


    Thanks.