Thank you for that additional detail. It seems unlikely that the automation ID for your RadGridView is "RadGridView". For example, in our own online demo
the automation ID is set using the x:Name attribute placed in the XAML, like this:
If you look in your XAML what do you see?